← Back to CVE Explorer

CVE-2025-50234

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-08-06 15:15:32.167000
Last modified
2026-10-19 17:10:00.173000
View original CVE JSON
{
  "id": "CVE-2025-50234",
  "sourceIdentifier": "[email protected]",
  "published": "2025-08-06T15:15:32.167",
  "lastModified": "2026-10-19T17:10:00.173",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "MCCMS v2.7.0 tiene una vulnerabilidad SSRF ubicada en el método index() del archivo sys\\apps\\controllers\\api\\Gf.php, donde se procesa el parámetro pic. El parámetro pic se descifra utilizando la función sys_auth($pic, 1), que emplea una clave codificada (hard-coded) Mc_Encryption_Key (bD2voYwPpNuJ7B8), definida en el archivo db.php. La URL descifrada se pasa al método geturl(), que utiliza cURL para realizar una solicitud a la URL sin las comprobaciones de seguridad adecuadas. Un atacante puede crear un parámetro pic cifrado malicioso que, una vez descifrado, apunte a direcciones internas o rutas de archivos locales (como http://127.0.0.1 o file: //). Al utilizar el protocolo file: //, el atacante puede acceder a archivos arbitrarios en el sistema de archivos local (por ejemplo, file: //etc/p4ssd, file: //[SystemPath]/System32//etc/h0sts), lo que le permite leer archivos de configuración sensibles, archivos de registro y más, lo que lleva a la fuga de información o a la exposición del sistema. El peligro de esta vulnerabilidad SSRF incluye el acceso a servicios internos y sistemas de archivos locales a través de protocolos como http://, ftp:// y file: //, lo que puede resultar en la fuga de datos sensibles, ejecución remota de código, escalada de privilegios o compromiso total del sistema, afectando gravemente la seguridad y estabilidad del sistema."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 2.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-08-06T19:18:32.709430Z",
          "id": "CVE-2025-50234",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-918"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:chshcms:mccms:2.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "BC99D798-1DBB-452F-B55F-544E7C5C8AF1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/xiaoyangsec/mccms/blob/main/MCCMS-SSRF.md",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    }
  ]
}