CVE-2026-30402
Received Received - Intake
Remote Code Execution in wgcloud via Test Connection Function

Publication date: 2026-03-19

Last updated on: 2026-04-02

Assigner: MITRE

Description
An issue in wgcloud v.2.3.7 and before allows a remote attacker to execute arbitrary code via the test connection function
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-19
Last Modified
2026-04-02
Generated
2026-05-07
AI Q&A
2026-03-19
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wgstart wgcloud to 2.3.7 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': 'CVE-2026-30402 is a critical remote code execution vulnerability in wgcloud versions up to and including v2.3.7. It exists in the "test connection" feature of the backend database management module, accessible via the `/dbInfo/validate` endpoint.'}, {'type': 'paragraph', 'content': 'The vulnerability arises from unsafe deserialization in the MySQL JDBC driver (version 5.1.46) used by wgcloud. Attackers can manipulate parameters in the JDBC URL, especially the `dbname` parameter, to inject malicious payloads that trigger deserialization of untrusted data.'}, {'type': 'paragraph', 'content': 'By exploiting this flaw, an attacker can execute arbitrary Java code remotely, demonstrated by launching applications such as the Windows calculator through crafted payloads.'}] [2]


How can this vulnerability impact me? :

This vulnerability allows a remote attacker to execute arbitrary code on the affected system without authorization.

Successful exploitation can lead to full system compromise, including unauthorized access, data theft, system manipulation, or disruption of services.

Because the vulnerability is in a database connection testing feature, attackers can leverage it to gain control over the backend infrastructure, potentially affecting the confidentiality, integrity, and availability of data and services.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring and analyzing requests to the `/dbInfo/validate` endpoint, which is used by the test connection feature in wgcloud. Specifically, look for POST requests that include suspicious or manipulated JDBC URL parameters such as `dbname` containing payloads with parameters like `autoDeserialize=true` and `statementInterceptors=com.mysql.jdbc.interceptors.ServerStatusDiffInterceptor`.

One detection approach is to set up a fake MySQL server listening on port 3308 to capture and analyze malicious payloads sent through the vulnerable endpoint.

Example commands to detect exploitation attempts might include using network monitoring tools like tcpdump or Wireshark to capture traffic on port 3308 or to the application server, and searching logs for suspicious POST requests to `/dbInfo/validate` with unusual JDBC URL parameters.

  • Use tcpdump to capture traffic on port 3308: `tcpdump -i any port 3308 -w capture.pcap`
  • Search application logs for POST requests to `/dbInfo/validate` containing suspicious `dbname` parameters.
  • Set up a fake MySQL server on port 3308 to capture and analyze incoming JDBC connection attempts.

What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting access to the vulnerable `/dbInfo/validate` endpoint to trusted users only, and blocking or filtering suspicious JDBC URL parameters that attempt to enable deserialization features.

Additionally, consider disabling or restricting the test connection feature in wgcloud if possible, until a patch or update is available.

Monitoring and blocking network traffic on port 3308, or any unusual outbound connections initiated by the application, can help prevent exploitation.

Ultimately, updating wgcloud to a version later than 2.3.7 that addresses this vulnerability or applying vendor-provided patches is recommended once available.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart