# CVE-2020-29574: Pre-auth SQL injection in end-of-life CyberoamOS WebAdmin

An unauthenticated SQL injection in the CyberoamOS WebAdmin lets a remote attacker run SQL statements. CISA lists it as exploited, with ransomware use, and says to stop using the end-of-life product. No public PoC was found.

- Vendor: Sophos, CyberoamOS (CROS) WebAdmin
- Severity: CRITICAL (CVSS 3.1 9.8)
- Exploited (CISA KEV): yes, added 2025-02-06, known ransomware use
- EPSS: 4.7% on 2026-12-02
- Public exploit: none reported
- Patch available: yes
- Vendor advisory: https://www.cyberoam.com/ngfw.html
- Published: 2020-12-11; updated: 2026-10-18
- Page: https://patchtonight.com/cve/CVE-2020-29574/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| CyberoamOS (CROS) firewalls with the WebAdmin exposed, in releases without the December 2020 hotfix. The CVE record says "through 2020-12-04" and gives no version numbers | Sophos hotfix for all supported CROS versions, per BleepingComputer. The hotfix number differs by release and model, so check Sophos KBA-000007526. The product is end of life, so migrate |

## What it is

The WebAdmin of CyberoamOS (CROS), the operating system of Cyberoam firewalls, has a **pre-authentication SQL injection**. A remote attacker needs no account and no user interaction to run arbitrary SQL statements on the device. The CVE record rates it Critical (CVSS 3.1 score 9.8, CWE-89).

BleepingComputer reports that Sophos said the flaw is reachable only if the HTTPS admin service is exposed on the WAN zone, and that it could be used to add accounts to a device. Sophos fixed it in December 2020 with a hotfix and said only a small subset of Cyberoam devices were affected.

It matters now because **CISA added it to KEV on 2025-02-06 and marks ransomware use as known**. No source we opened says who exploits it or how. CISA also says the product is end of life and tells users to **stop using it**.

## Am I affected?

You are affected if you run a Cyberoam firewall on CyberoamOS that has not received the December 2020 hotfix. The CVE record gives no version numbers; it says "through 2020-12-04". Treat any CROS device that has not been confirmed as hotfixed as vulnerable.

**The exposure condition:** according to Sophos, as reported by BleepingComputer, the attack works when the HTTPS admin service is reachable from the WAN zone. A device whose WebAdmin is not reachable from the internet is much less exposed, but a hotfix is still the actual fix.

Not affected, per Sophos as quoted by BleepingComputer: XG Firewall and SG UTM devices.

To check the hotfix, Sophos tells admins to run this in the CROS console and compare the hotfix number with the table in Sophos KBA-000007526 (the table differs per CROS release and hardware model):

```
cyberoam diagnostics show version-info
```

## What to do

1. **Replace the device.** CISA's required action is to stop using the product because it is end of life. Sophos has been phasing out Cyberoam since early 2019 and recommends moving to XG Firewall; BleepingComputer reports Sophos has offered free upgrades since 2019.
2. **Until it is gone, confirm the hotfix is installed.** Sophos says devices with "Allow Over-the-air Hotfix" enabled received it automatically. Check the hotfix number as above. Where the setting was off, follow KBA-000007526.
3. **Remove WAN access to the web admin and SSH interfaces.** This is Sophos's workaround. It will stop remote administration from the internet, so use a VPN or an internal management network instead.
4. **If the device was ever exposed on the WAN without the hotfix,** assume compromise. Review the local administrator and user accounts for ones you did not create, rebuild the device or replace it, and rotate admin, VPN and any credentials stored on it. CISA marks ransomware use as known, so also check the networks behind the firewall.

## Detection

No indicators of compromise have been published. Sophos told BleepingComputer the flaw could be used to add accounts, so start there.

- List the users and administrators on the device and look for accounts nobody can account for.
- Review web admin and SSH access logs for connections from the internet, especially from addresses outside your admin ranges.
- Check firewall logs for inbound connections to the HTTPS admin port from the WAN zone.
- Look for unexpected configuration changes, new VPN users or new firewall rules.

## Sources

- [CVE record CVE-2020-29574 (MITRE)](https://cveawg.mitre.org/api/cve/CVE-2020-29574)
- [CISA Known Exploited Vulnerabilities catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-29574)
- [BleepingComputer on the Sophos fix](https://www.bleepingcomputer.com/news/security/sophos-fixes-sql-injection-vulnerability-in-their-cyberoam-os/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
