CVE Catalog

CVE-2025-50234

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

15th percentile - higher than 15% of all known CVEs

Summary

MCCMS v2.7.0 has an SSRF vulnerability in the index() method of sys\apps\controllers\api\Gf.php, where the pic parameter is processed. The parameter is decrypted using sys_auth() with a hard-coded key and the decrypted URL is passed to geturl(), which performs a cURL request without proper security checks. An attacker can craft a malicious encrypted pic parameter pointing to internal addresses or local paths (e.g., http://127.0.0.1 or file://), enabling access to internal services and arbitrary local file reads.

Risk Assessment

The vulnerability allows access to internal services and the local file system, potentially leading to sensitive data leakage, remote code execution, privilege escalation, or full system compromise. This poses a serious threat to system confidentiality and stability.

Recommendation

Update MCCMS to a patched version or implement validation and restrictions for the pic parameter (allowlist of permitted URLs, blocking file:// and ftp:// protocols and internal addresses). Also rotate the hard-coded encryption key and audit the cURL request handling code.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS