CVE-2025-50234
Executive Summary
MCCMS v2.7.0 contains an SSRF flaw in sys\apps\controllers\api\Gf.php’s index() method. The pic parameter is decrypted with a hard‑coded key (Mc_Encryption_Key) and the resulting URL is fetched via cURL without validation. An attacker can supply a crafted encrypted pic that resolves to internal or file:// URLs, enabling arbitrary file reads (e.g., /etc/passwd) and potentially exposing sensitive data, facilitating remote code execution or privilege escalation. This vulnerability can lead to full system compromise and is not yet listed in CISA KEV.
Authoritative CVE Metadata
- CVSS Base Score: 6.5 (MEDIUM)
- Last Modified: 19-10-26
Original Description
MCCMS v2.7.0 has an SSRF vulnerability located in the index() method of the sys\apps\controllers\api\Gf.php file, where the pic parameter is processed. The pic parameter is decrypted using the sys_auth($pic, 1) function, which utilizes a hard-coded key Mc_Encryption_Key (bD2voYwPpNuJ7B8), defined in the db.php file. The decrypted URL is passed to the geturl() method, which uses cURL to make a request to the URL without proper security checks. An attacker can craft a malicious encrypted pic parameter, which, when decrypted, points to internal addresses or local file paths (such as http://127.0.0.1 or file://). By using the file:// protocol, the attacker can access arbitrary files on the local file system (e.g., file:///etc/passwd, file:///C:/Windows/System32/drivers/etc/hosts), allowing them to read sensitive configuration files, log files, and more, leading to information leakage or system exposure. The danger of this SSRF vulnerability includes accessing internal services and local file systems through protocols like http://, ftp://, and file://, which can result in sensitive data leakage, remote code execution, privilege escalation, or full system compromise, severely affecting the system's security and stability.