Check out the latest research from IONIX: NEW! State of the WAF Report

New CVE Detected

CVE-2025-70521 – Unauthenticated Remote Code Execution via Command Injection – Fanvil x7a / PA2S Fir

Be the first to know when new zero-days emerge:

Summary

CVE-2025-70521 is a critical, unauthenticated OS command injection vulnerability in the management portal’s diagnostic ping tool of Fanvil x7a Android-based desk phone firmware (and the related Fanvil PA2S SIP gateway firmware). The tool fails to sanitize user-supplied input before passing it to the underlying Android operating system, allowing a remote attacker with no credentials to execute arbitrary shell commands on the device. Given the network attack vector, lack of required privileges/interaction, and full compromise of confidentiality, integrity, and availability, this vulnerability is rated CVSS 9.8 (Critical).

Technical details

  • Root cause: The diagnostic "ping" feature exposed via the device’s management portal/WebSocket interface concatenates user-supplied target input (e.g., an IP address or hostname) directly into a system/shell command without proper validation or sanitization.
  • Trigger condition: An attacker sends a crafted ping request (via the web management portal or its WebSocket handler) containing shell metacharacters appended to the target value — e.g. submitting a value such as 1.1.1.1; <command> — causing the appended command to be executed alongside the legitimate ping command.
  • Attack vector: Network-based and unauthenticated — no valid session, credentials, or user interaction is required to reach the vulnerable diagnostic endpoint.
  • Impact: Full arbitrary command execution in the context of the underlying Android operating system, enabling device takeover, data exfiltration, persistence (e.g., writing files to device storage), and potential use of the phone as a foothold for further network access.
  • Related issues: This flaw was disclosed as part of a broader set of vulnerabilities in the same Fanvil x7a/PA2S firmware, including broken access control on the WebSocket handler, missing CSRF protections on state-changing requests, and reflected XSS in the device log component — several of which can be chained to reach or amplify this command injection.

Affected software

  • Fanvil x7a (Android-based IP phone) firmware version 2.6.0.1182
  • Fanvil PA2S SIP gateway firmware version 2.12.44.9

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Check Fanvil’s official firmware release channel for an updated build of the x7a/PA2S firmware beyond version 2.6.0.1182 / 2.12.44.9 that addresses this issue, and apply it as soon as it is available. No fixed version has been confirmed as of this writing — monitor Fanvil’s firmware release page for updates.
  • If no patch is available:
    • Restrict network access to device management portals to trusted management/VLAN segments only; do not expose them to the internet.
    • Disable or restrict access to the diagnostic ping tool and management WebSocket interface if not required for operations.
    • Place affected devices behind a firewall or VPN and monitor for anomalous WebSocket traffic or unexpected outbound connections from the devices.
    • Review device logs and filesystem for signs of unauthorized command execution or persistence artifacts.

References

Get a free Attack Surface scan to see if you’re exposed.

Get a free Attack Surface scan to see if you’re exposed.

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge