SonicWall Urges Users to Patch Several Vulnerabilities in Secure Mobile Access Products (CVE-2021-20038)
SonicWall's Secure Mobile Access 100 remote access gateways contained eight vulnerabilities, including unauthenticated heap- and stack-based buffer overflows in the SSLVPN Apache httpd server. Successful exploitation of the most severe flaws could result in code execution as the low-privileged 'nobody' user on the appliance.
cymptom.com
Published on cymptom.com
Subscribe
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely unsafe string handling in the SSLVPN web server, which concatenated HTTP GET environment variables into a fixed buffer without bounds checking.
Impact
The most severe flaws could allow unauthenticated code execution as the 'nobody' user, and devices with the web application firewall enabled were still vulnerable; the text states there was no evidence of exploitation in the wild at the time.
What the attacker needed
Network access to the SMA appliance; no login needed for the worst flaws; login needed for CVE-2021-20043
The fix
SonicWall issued fixed firmware versions and strongly urged customers to update their appliances.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
These are remote access devices that let staff connect to a company network from outside. A buffer overflow means the software writes more data into a fixed-size memory area than it can hold, which can let an attacker overwrite nearby memory and run their own code. Here the worst flaws needed no login at all, so anyone who could reach the device could try them.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.