☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 8.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-64057

CVE-2025-64057 Directory Traversal in Fanvil
📅 PUBLISHED: 2025-12-05 00:00 UTC 🔄 UPDATED: 2026-10-02 19:27 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.81%
👁️
0.81% probability
20.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: X210 Firmware
CVSS VECTOR BREAKDOWN 8.3
AV: A Attack Vector Adjacent
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: H Integrity High
A: H Availability High
8.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-64057 is a directory traversal vulnerability affecting the Fanvil x210 V2 phone running firmware version 2.12.20. An unauthenticated attacker on the local network can exploit this flaw to store files in arbitrary locations on the device, potentially leading to system configuration modification or other unspecified impacts. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as high severity due to the potential for persistent compromise. No public proof-of-concept or patch is currently available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Adjacent Network (AV:A) – Requires local network access.
  • Attack Complexity (AC): Low (AC:L) – No special conditions required.
  • Privileges Required (PR): None (PR:N) – Unauthenticated exploitation.
  • User Interaction (UI): None (UI:N) – No user action needed.
  • Scope (S): Unchanged (S:U) – Affects only the vulnerable component.
  • Confidentiality (C): None (C:N) – No data exfiltration.
  • Integrity (I): High (I:H) – Can modify system files.
  • Availability (A): High (A:H) – Can overwrite critical files causing denial of service.

Threat Level: High (7.5) – Unauthenticated remote file write with high integrity and availability impact.

Deep Dive & Mechanics

The vulnerability resides in the web interface of the Fanvil x210 V2 phone. The device fails to properly sanitize user-supplied input in file upload or configuration endpoints. By crafting a request with path traversal sequences (e.g., ../../../etc/passwd), an attacker can write files to arbitrary locations on the filesystem. This can be used to overwrite configuration files, inject malicious scripts, or modify system binaries.

The attack is limited to the local network, but once exploited, the attacker can achieve persistent control over the device. The exact endpoint is not publicly documented, but typical targets include firmware update, configuration restore, or log upload functions.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

# Example of vulnerable file upload handler
def handle_upload(request):
    filename = request.form['filename']
    # No path validation
    with open('/var/www/uploads/' + filename, 'wb') as f:
        f.write(request.files['file'].read())

Patched Code (Conceptual):

import os
def handle_upload(request):
    filename = os.path.basename(request.form['filename'])
    # Restrict to allowed directory
    safe_path = os.path.join('/var/www/uploads/', filename)
    if not safe_path.startswith('/var/www/uploads/'):
        return "Invalid path", 400
    with open(safe_path, 'wb') as f:
        f.write(request.files['file'].read())

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Obtain a Fanvil x210 V2 phone with firmware 2.12.20.
  2. Connect the phone to a local network (e.g., 192.168.1.0/24).
  3. Identify the web interface IP (e.g., 192.168.1.100).

Exploitation Steps:

  1. Use a tool like curl to send a crafted request:
    curl -X POST http://192.168.1.100/upload \
      -F "filename=../../../etc/config/system.cfg" \
      -F "file=@malicious_config.txt"
    
  2. Verify file write by accessing the modified configuration.

Note: No public exploit code is available; this is a conceptual demonstration.

Blue Team

Detection Steps:

  1. Monitor for HTTP POST requests containing path traversal patterns (e.g., ../).
  2. Check for unexpected file modifications in critical directories (/etc/, /var/www/).
  3. Use network monitoring to detect anomalous uploads to the phone's web interface.

Honeypot Strategy:

  • Deploy a decoy Fanvil x210 with modified firmware to log all upload attempts.
  • Alert on any POST request to /upload or similar endpoints.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP POST requests to /upload or /cgi-bin/upload with ../ in the filename parameter.
    • Outbound connections from the phone to unknown IPs after exploitation.
  • File System:
    • Unexpected files in /etc/, /var/www/, or /tmp/.
    • Modified configuration files (e.g., system.cfg, phone.cfg).
  • Process:
    • Unusual processes spawned from the web server (e.g., sh, bash).

Detection Engineering

YARA Rule

rule CVE_2025_64057_Directory_Traversal {
    meta:
        description = "Detects directory traversal attempts targeting Fanvil x210"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-64057"
    strings:
        $traversal1 = "../" ascii wide
        $traversal2 = "..\\" ascii wide
        $traversal3 = "%2e%2e%2f" ascii wide
        $traversal4 = "%2e%2e/" ascii wide
    condition:
        any of ($traversal*) and filesize < 10KB
}

Sigma Rule

title: Fanvil x210 Directory Traversal Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with path traversal patterns targeting Fanvil x210
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains:
            - '../'
            - '..\\'
            - '%2e%2e%2f'
            - '%2e%2e/'
    condition: selection
falsepositives:
    - Legitimate file paths with dots
level: high

Suricata Rule

alert http any any -> $HOME_NET any (msg:"CVE-2025-64057 Fanvil x210 Directory Traversal"; flow:to_server; content:"POST"; http_method; content:"../"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Actions:

    • Isolate Fanvil x210 phones on a separate VLAN with strict access controls.
    • Disable the web interface if not required.
    • Monitor logs for path traversal attempts.
  2. Vendor Patch:

    • Contact Fanvil for a firmware update. No patch is currently available.
  3. Workarounds:

    • Implement a reverse proxy to filter path traversal patterns.
    • Use network ACLs to restrict access to the phone's web interface to trusted IPs only.
  4. Long-term:

    • Replace affected devices with models that have proper input validation.
    • Conduct regular security audits of IoT devices.

Valters IT

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-64057/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.