{"id":"CVE-2025-6704","state":"PUBLISHED","title":"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","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.","publishedAt":"2025-07-21T13:16:29.613Z","updatedAt":"2025-07-21T15:07:07.062Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Sophos"},"assigner":"Sophos","products":["Sophos Sophos Firewall"],"affected":[{"vendor":"Sophos","product":"Sophos Firewall","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.0 MR2 (21.0.2)","versionType":"semver"}]}],"references":["https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6704.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-6704","state":"PUBLISHED","datePublished":"2025-07-21T13:16:29.613Z","dateUpdated":"2025-07-21T15:07:07.062Z","assignerShortName":"Sophos","assignerOrgId":"526a354d-e866-4174-ae7d-bac848e5c4c5","dateReserved":"2025-06-26T09:41:20.790Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Sophos","product":"Sophos Firewall","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.0 MR2 (21.0.2)","versionType":"semver"}]}],"references":[{"url":"https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Sophos","orgId":"526a354d-e866-4174-ae7d-bac848e5c4c5","dateUpdated":"2025-07-21T13:19:20.330Z"},"impacts":[{"capecId":"CAPEC-165","descriptions":[{"lang":"en","value":"CAPEC-165 File Manipulation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-21T15:05:14.938449Z","id":"CVE-2025-6704","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-21T15:07:07.062Z"}}]}}}