wgcloud Server-Side Request Forgery Vulnerability in Database Management Connection Test

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in wgcloud version 3.6.3, specifically within the backend database management connection test feature. This vulnerability allows the server to send requests that can probe the internal network, remotely download malicious files, and execute other potentially harmful operations.

Impact

Exploitation of this vulnerability could lead to unauthorized internal network probing, remote downloading of malicious files, and execution of other dangerous operations on the server.

Reproduction

To reproduce this vulnerability, enable the 'fakemysql' option and send a crafted request to the '/dbInfo/validate' endpoint. The payload should include a JDBC MySQL connection string that points to a server within the internal network, with parameters that allow loading local files from the URL and increase the maximum allowed packet size. Once the request is processed, check the DNS log for a response indicating that the internal server was successfully contacted.

Added: Mar 19, 2026, 4:22 PM
Updated: Mar 19, 2026, 4:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
8.2
remediation
0.0
relevance
4.1
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.