Skip to main content
← All vulnerabilities
CVE-2021-20038

A Stack-based buffer overflow vulnerability in SMA100 Apache httpd server's mod_cgi module environment variables allows a remote unauthentic

Affects SonicWall SMA 100 series appliances (SMA 200, 210, 400, 410 and 500v) running firmware 10.2.x, with 10.2.1.2-24sv named as affected in the advisory.

Published
Last modified
published
Listed in CISA KEV
Actively exploited
None on Exploit-DB, Metasploit or GitHub

Summary

The vulnerability affects SonicWall SMA 100 series appliances (SMA 200, 210, 400, 410, and 500v) that run the Apache httpd server with its mod_cgi module. A remote, unauthenticated attacker could potentially run code on the appliance with the limited privileges of the "nobody" user.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

A Stack-based buffer overflow vulnerability in SMA100 Apache httpd server's mod_cgi module environment variables allows a remote unauthenticated attacker to potentially execute code as a 'nobody' user in the appliance. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances firmware 10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24sv and earlier versions.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • SonicWall SonicWall SMA100

    10.2.0.8-37sv and earlier, 10.2.1.1-19sv and earlier, 10.2.1.2-24sv and earlier

References 3

psirt.global.sonicwall.com

GitHub · jbaines-r7/badblood

rapid7.com

FAQ

Questions about CVE-2021-20038

What does this mean?

A stack-based buffer overflow in the httpd server's mod_cgi module, triggered through environment variables, lets a remote attacker without logging in overflow the stack and run code as the nobody user. The advisory says this can give an attacker complete control of the device.Source: rapid7.com

Am I affected, and how do I check?

Devices running firmware version 10.2.x on SMA 100 series appliances (SMA 200, 210, 400, 410 and 500v) are in scope, and the advisory names 10.2.1.2-24sv specifically. To check, read the firmware version shown on the appliance.Source: rapid7.com

What should I do about it?

The checked facts do not name a fixed firmware version, so no upgrade target can be given from them. Check the SonicWall advisory for the fixed release.Source: rapid7.com

Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-28, which means it has evidence of attacks. No public exploit code is tracked.Source: cisa.gov, cve.now feed data

What if there's no patch?

The checked facts do not include a workaround or mitigation. Consult the SonicWall advisory for guidance on limiting exposure until a fix is available.Source: rapid7.com