Sophos Firewall vulnerable to critical 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 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.

For instructions on how to apply the Sophos Firewall hotfixes and to validate that they were successfully installed, refer 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.

Leave a Comment

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

loader-image
London, GB
8:48 pm, Jan 20, 2025
weather icon 5°C
L: 2° | H: 6°
overcast clouds
Humidity: 89 %
Pressure: 1017 mb
Wind: 6 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 100%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 7:54 am
Sunset: 4:28 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
2° | 6°°C 0 mm 0% 3 mph 89 % 1017 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
3° | 6°°C 0 mm 0% 4 mph 96 % 1017 mb 0 mm/h
Wed Jan 22 9:00 pm
weather icon
4° | 5°°C 1 mm 100% 6 mph 97 % 1009 mb 0 mm/h
Thu Jan 23 9:00 pm
weather icon
3° | 8°°C 1 mm 100% 16 mph 90 % 1006 mb 0 mm/h
Fri Jan 24 9:00 pm
weather icon
4° | 11°°C 1 mm 100% 24 mph 91 % 1005 mb 0 mm/h
Today 9:00 pm
weather icon
3° | 5°°C 0 mm 0% 3 mph 89 % 1017 mb 0 mm/h
Tomorrow 12:00 am
weather icon
3° | 4°°C 0 mm 0% 4 mph 92 % 1017 mb 0 mm/h
Tomorrow 3:00 am
weather icon
3° | 3°°C 0 mm 0% 4 mph 93 % 1016 mb 0 mm/h
Tomorrow 6:00 am
weather icon
3° | 3°°C 0 mm 0% 3 mph 96 % 1015 mb 0 mm/h
Tomorrow 9:00 am
weather icon
3° | 3°°C 0 mm 0% 3 mph 92 % 1015 mb 0 mm/h
Tomorrow 12:00 pm
weather icon
5° | 5°°C 0 mm 0% 4 mph 76 % 1015 mb 0 mm/h
Tomorrow 3:00 pm
weather icon
6° | 6°°C 0 mm 0% 3 mph 75 % 1012 mb 0 mm/h
Tomorrow 6:00 pm
weather icon
4° | 4°°C 0 mm 0% 4 mph 93 % 1011 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€100,839.95
-2.19%
Ethereum(ETH)
€3,229.88
-2.55%
XRP(XRP)
€3.05
-1.89%
Tether(USDT)
€0.97
-0.01%
Solana(SOL)
€240.21
-9.90%
Dogecoin(DOGE)
€0.350290
-8.35%
USDC(USDC)
€0.97
0.00%
Shiba Inu(SHIB)
€0.000020
-5.14%
Pepe(PEPE)
€0.000016
-9.35%
Peanut the Squirrel(PNUT)
€0.373881
-22.93%
Scroll to Top