CVE-2024-12727 SQL injection in Sophos Firewall

Critical 9.8 Published Updated

Pre-auth SQL injection in Sophos Firewall allows database access and potential remote code execution when Secure PDF eXchange and High Availability are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12727?

CVE-2024-12727 is a critical SQL injection vulnerability in Sophos Firewall, published on 19 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A pre-auth SQL injection vulnerability in the email protection feature of Sophos Firewall versions older than 21.0 MR1 (21.0.1) allows access to the reporting database and can lead to remote code execution if a specific configuration of Secure PDF eXchange (SPX) is enabled in combination with the firewall running in High Availability (HA) mode.

Weakness: CWE-89

Which versions are affected by CVE-2024-12727?

It affects 1 product.

Products include Sophos Firewall Firmware.

How do I fix CVE-2024-12727?

No fix has been published for CVE-2024-12727 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-12727 being exploited?

There is no known exploitation of CVE-2024-12727 in the wild and no public exploit code.

Sources

Also known as GHSA-vf9g-3qff-2rx6.

Is CVE-2024-12727 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free