Description
An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to pre-auth remote code execution, if a specific configuration of SPX is enabled in combination with the firewall running in High Availability (HA) mode.
EPSS Score:
0%
Comprehensive Technical Analysis of EUVD-2025-22086
1. Vulnerability Assessment and Severity Evaluation
The vulnerability described in EUVD-2025-22086 pertains to an arbitrary file writing flaw in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2). This vulnerability can be exploited to achieve pre-authentication remote code execution (RCE) under specific conditions, namely when SPX is configured in a particular way and the firewall is running in High Availability (HA) mode.
Severity Evaluation:
- Base Score: 9.8 (CVSS:3.1)
- Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The high base score of 9.8 indicates a critical vulnerability. The CVSS vector string highlights several key factors:
- Attack Vector (AV:N): The vulnerability can be exploited over the network.
- Attack Complexity (AC:L): The attack is of low complexity.
- Privileges Required (PR:N): No privileges are required to exploit the vulnerability.
- User Interaction (UI:N): No user interaction is required.
- Scope (S:U): The impact is unchanged.
- Confidentiality (C:H), Integrity (I:H), Availability (A:H): All three CIA triad components are highly impacted.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Network-Based Attack: Given the attack vector (AV:N), an attacker can exploit this vulnerability remotely over the network.
- Pre-Authentication: The vulnerability allows for pre-authentication exploitation, meaning an attacker does not need to authenticate to the system to exploit it.
Exploitation Methods:
- Arbitrary File Writing: The attacker can write arbitrary files to the system, potentially leading to code execution.
- Remote Code Execution (RCE): By exploiting the arbitrary file writing vulnerability, an attacker can inject malicious code that gets executed on the target system.
3. Affected Systems and Software Versions
Affected Systems:
- Sophos Firewall versions older than 21.0 MR2 (21.0.2)
Specific Conditions:
- The SPX feature must be enabled in a specific configuration.
- The firewall must be running in High Availability (HA) mode.
4. Recommended Mitigation Strategies
Immediate Actions:
- Upgrade: Upgrade to Sophos Firewall version 21.0 MR2 (21.0.2) or later to mitigate the vulnerability.
- Disable SPX: If upgrading is not immediately possible, consider disabling the SPX feature until the system can be updated.
- Disable HA Mode: If feasible, disable High Availability (HA) mode temporarily.
Long-Term Strategies:
- Regular Patching: Implement a regular patching and update schedule for all security appliances.
- Network Segmentation: Use network segmentation to limit the exposure of critical systems.
- Monitoring and Logging: Enhance monitoring and logging to detect any suspicious activities related to the SPX feature.
5. Impact on European Cybersecurity Landscape
The vulnerability poses a significant risk to organizations using Sophos Firewall within the European Union. Given the critical nature of firewalls in network security, a successful exploitation could lead to severe breaches, including data exfiltration, unauthorized access, and service disruptions. This underscores the importance of timely patch management and proactive security measures to safeguard critical infrastructure.
6. Technical Details for Security Professionals
Vulnerability Details:
- CVE ID: CVE-2025-6704
- Assigner: Sophos
- EPSS: N/A
- ENISA ID Product: Sophos Firewall versions 0 < 21.0 MR2 (21.0.2)
- ENISA ID Vendor: Sophos
Exploitation Scenario:
- Reconnaissance: An attacker identifies a target running a vulnerable version of Sophos Firewall with SPX enabled and HA mode active.
- Exploitation: The attacker crafts a malicious payload designed to exploit the arbitrary file writing vulnerability.
- Execution: The payload is delivered over the network, leading to remote code execution on the target system.
- Post-Exploitation: The attacker gains control over the firewall, potentially leading to further compromise of the network.
Detection and Response:
- Intrusion Detection Systems (IDS): Deploy IDS to detect unusual network traffic patterns indicative of exploitation attempts.
- Incident Response: Have an incident response plan in place to quickly address any detected exploitation attempts.
- Security Audits: Regularly conduct security audits to identify and mitigate vulnerabilities in network security appliances.
By understanding the technical details and implementing the recommended mitigation strategies, organizations can significantly reduce the risk posed by this critical vulnerability.