CVE-2022-20871 is a medium severity command injection flaw in the web management interface of Cisco AsyncOS for Cisco Secure Web Appliance, formerly Web Security Appliance. NVD scores it 6.3. A user with read-only credentials could run commands as root. Cisco has released software updates and offers no workaround.
What's affected
The flaw is in the web management interface of Cisco AsyncOS for Cisco Secure Web Appliance, formerly Cisco Web Security Appliance (WSA). Cisco says both virtual and hardware appliances are affected. The NVD record lists AsyncOS 12.5.1-011, 12.5.2-007 and 12.5.2-011 and the virtual S1000V model, but the advisory sends readers to its Fixed Software section for the complete list of vulnerable and fixed releases.
Cisco confirmed that Email Security Appliance and Secure Email and Web Manager (formerly Security Management Appliance) are not affected.
Severity differs between sources. NVD and the CVSS vector in Cisco's advisory give a base score of 6.3, which is Medium. Cisco's own advisory page labels the security impact rating High. Both are accurate descriptions of different scales, so treat the issue as one to patch on a normal but prompt schedule, especially if many staff hold appliance accounts.
The advisory was first published on 17 August 2022 and last updated on 3 October 2022. NVD added the record on 2024-11-15. The record's kev flag is false, and the advisory does not report exploitation.
Weakness class per the record: CWE-78.
How to check if you're exposed
Start by finding every Secure Web Appliance you run, including virtual ones. The version is shown in the appliance interface and in its system information.
Compare the running AsyncOS release with the Fixed Software table in the Cisco advisory. I did not reproduce that table here because the page I retrieved points to Cisco's software checker for exact first fixed releases. Use the checker or the table, not a guess based on the minor version.
Then list who holds accounts. The attacker needs at least read-only credentials, so a long list of low privilege accounts raises exposure.
What to do now
- Inventory all Cisco Secure Web Appliance and WSA units, hardware and virtual.
- Check each running AsyncOS version against the advisory's Fixed Software section and schedule the upgrade through your normal Cisco support channel.
- Review who has accounts on the management interface, including read-only roles, and remove accounts that are not needed.
- Limit management interface access to a dedicated administration network, since Cisco lists no workaround.
Why it matters
The weakness is command injection, CWE-78. The management interface does not sufficiently validate user supplied input, so crafted input can end up executed by the operating system underneath. The impact is notable because the commands run with root privileges even though the account that sends the request only needs read-only rights.
That gap between account role and operating system power is the real lesson. Read-only roles on appliances are often handed out widely, for reporting or audit. A flaw like this turns each of those accounts into a path to full control of a device that sits on the web path for your users.
Cisco reports no workaround, so patching is the only complete fix. Reducing who can reach the management interface lowers the chance of misuse in the meantime.
Quick check
Does this need network access to the appliance?
Yes. The advisory describes an authenticated, remote attacker, so the person needs to reach the web management interface and hold valid credentials with at least read-only rights.
Sources
Last reviewed: 19 October 2026.