Cloud-hacker

Sophos discloses critical Firewall remote code execution flaw

Share:

Sophos has addressed three vulnerabilities in its Sophos Firewall product that could allow remote unauthenticated threat actors to perform SQL injection, remote code execution, and gain privileged SSH access to devices.

The vulnerabilities affect Sophos Firewall version 21.0 GA (21.0.0) and older, with the company already releasing hotfixes that are installed by default and permanent fixes through new firmware updates.

The three flaws are summarized as follows:

  • CVE-2024-12727: A pre-authentication SQL injection vulnerability in the email protection feature. If a specific configuration of Secure PDF eXchange (SPX) is enabled in combination with High Availability (HA) mode, it allows access to the reporting database, potentially leading to RCE.
  • CVE-2024-12728: The suggested, non-random SSH login passphrase for HA cluster initialization remains active after the process completes, leaving systems where SSH is enabled vulnerable to unauthorized access due to predictable credentials.
  • CVE-2024-12729: An authenticated user can exploit a code injection vulnerability in the User Portal. This allows attackers with valid credentials to execute arbitrary code remotely, increasing the risk of privilege escalation or further exploitation.

The company says CVE-2024-12727 impacts approximately 0.05% of firewall devices with the specific configuration required for exploitation. As for CVE-2024-12728, the vendor says it impacts approximately 0.5% of devices.

Available fixes

Hotfixes and complete fixes were made available through various versions and dates, as follows:

Hotfixes for CVE-2024-12727 are available since December 17 for versions 21 GA, v20 GA, v20 MR1, v20 MR2, v20 MR3, v19.5 MR3, v19.5 MR4, v19.0 MR2, while a permanent fix was introduced in v21 MR1 and newer.

Hotfixes for CVE-2024-12728 were released between November 26 and 27 for v21 GA, v20 GA, v20 MR1, v19.5 GA, v19.5 MR1, v19.5 MR2, v19.5 MR3, v19.5 MR4, v19.0 MR2, and v20 MR2, while permanent fixes are included in v20 MR3, v21 MR1 and newer.

For CVE-2024-12729, hotfixes were released between December 4 and 10 for versions v21 GA, v20 GA, v20 MR1, v20 MR2, v19.5 GA, v19.5 MR1, v19.5 MR2, v19.5 MR3, v19.5 MR4, v19.0 MR2, v19.0 MR3, and v20 MR3, and a permanent fix is available in v21 MR1 and later.

Sophos Firewall hotfixes are installed by default, but you can find instructions on how to apply them and validate that they were successfully installed by referring to KBA-000010084.

Sophos has also proposed workarounds for mitigating risks associated with CVE-2024-12728 and CVE-2024-12729 for those who cannot apply the hotfix or upgrade.

To mitigate CVE-2024-12728, it is recommended to limit SSH access only to the dedicated HA link that is physically separated from other network traffic and reconfigure the HA setup using a sufficiently long and random custom passphrase.

For remote management and access, disabling SSH over the WAN interface and using Sophos Central or a VPN is generally recommended.

To mitigate CVE-2024-12729, it is recommended that admins ensure the User Portal and Webadmin interfaces are not exposed to the WAN.

Update 12/20/24: Updated article to explain that hotfixes are installed by default.

Bill Toulas

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
9:50 pm, May 9, 2025
weather icon 13°C
L: 12° | H: 14°
clear sky
Humidity: 56 %
Pressure: 1021 mb
Wind: 12 mph E
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 10%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 5:17 am
Sunset: 8:35 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
12° | 14°°C 0 mm 0% 8 mph 56 % 1021 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
10° | 20°°C 0 mm 0% 11 mph 77 % 1021 mb 0 mm/h
Sun May 11 10:00 pm
weather icon
11° | 22°°C 0.66 mm 66% 11 mph 80 % 1015 mb 0 mm/h
Mon May 12 10:00 pm
weather icon
13° | 21°°C 0.38 mm 38% 14 mph 91 % 1014 mb 0 mm/h
Tue May 13 10:00 pm
weather icon
13° | 20°°C 1 mm 100% 10 mph 83 % 1020 mb 0 mm/h
Today 10:00 pm
weather icon
12° | 13°°C 0 mm 0% 8 mph 56 % 1021 mb 0 mm/h
Tomorrow 1:00 am
weather icon
11° | 12°°C 0 mm 0% 6 mph 61 % 1021 mb 0 mm/h
Tomorrow 4:00 am
weather icon
10° | 11°°C 0 mm 0% 4 mph 77 % 1020 mb 0 mm/h
Tomorrow 7:00 am
weather icon
11° | 11°°C 0 mm 0% 6 mph 76 % 1020 mb 0 mm/h
Tomorrow 10:00 am
weather icon
16° | 16°°C 0 mm 0% 9 mph 40 % 1019 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
18° | 18°°C 0 mm 0% 11 mph 30 % 1018 mb 0 mm/h
Tomorrow 4:00 pm
weather icon
20° | 20°°C 0 mm 0% 11 mph 34 % 1017 mb 0 mm/h
Tomorrow 7:00 pm
weather icon
17° | 17°°C 0 mm 0% 10 mph 41 % 1016 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€91,817.12
1.04%
Ethereum(ETH)
€2,075.45
8.58%
Tether(USDT)
€0.89
0.00%
XRP(XRP)
€2.10
3.31%
Solana(SOL)
€153.18
6.65%
USDC(USDC)
€0.89
0.00%
Dogecoin(DOGE)
€0.182081
6.34%
Shiba Inu(SHIB)
€0.000013
5.92%
Pepe(PEPE)
€0.000011
15.06%
Peanut the Squirrel(PNUT)
€0.301579
58.79%
Scroll to Top