Cyber Security News

SonicWall SMA100 Series N-day Vulnerabilities Technical Details Revealed

Multiple critical vulnerabilities affecting SonicWall’s SMA100 series SSL-VPN appliances, highlighting persistent security flaws in network infrastructure devices. 

The vulnerabilities, designated CVE-2025-40596, CVE-2025-40597, and CVE-2025-40598, demonstrate fundamental programming errors that enable pre-authentication attacks against firmware version 10.2.1.15.

Key Takeaways
1. Stack overflow, heap overflow, and XSS in SonicWall SMA100 SSL-VPN devices.
2. Both overflows triggered without authentication via malformed HTTP requests.
3. Unsafe programming practices continue in critical network infrastructure.

CVE-2025-40596: Pre-Authentication Stack Buffer Overflow

According to WatchTower Labs’ analysis, the vulnerability represents a classic stack-based buffer overflow triggered through malformed HTTP requests to the /__api__/ endpoint. 

The flaw within the /usr/src/EasyAccess/bin/httpd binary is responsible for processing incoming SSL-VPN connections.

The vulnerable code utilizes an unsafe sscanf function call that parses user-controlled URI data without proper bounds checking. 

When the system encounters requests beginning with /__api__/, it copies user input into a 0x800-byte stack buffer located at [rsp+898h+var_878] without validating input length.

Exploitation requires minimal effort, achievable through a simple Python one-liner: import requests; requests.get(“https://x.x.x.x/__api__/v1/”+’A’*3000,verify=False). 

While stack protection mechanisms limit immediate exploitation potential, the vulnerability’s pre-authentication nature in an SSL-VPN context raises significant security concerns.

CVE-2025-40597: Heap Overflow

The second vulnerability affects the mod_httprp.so module, likely standing for “HTTP Reverse Proxy,” which handles various SonicWall-specific HTTP parsing functions. 

This heap-based buffer overflow occurs during Host header processing, demonstrating how even “secure” programming practices can fail when implemented incorrectly.

The vulnerable code allocates a 128-byte heap chunk via calloc(0x80, 1) before passing it to __sprintf_chk. 

Despite using the supposedly safer sprintf variant, developers passed -1 (0xFFFFFFFFFFFFFFFF) as the size parameter, effectively disabling bounds checking entirely.

This configuration allows attackers to overflow the allocated heap chunk by sending oversized Host headers: import requests; requests.get(“https://x.x.x.x/__api__/”, headers={‘Host’:’A’*750}, verify=False). 

The overflow corrupts adjacent heap metadata, potentially enabling more sophisticated exploitation techniques.

CVE-2025-40598: Cross-site Scripting Flaw

The third vulnerability represents a straightforward reflected cross-site scripting flaw in the radiusChallengeLogin CGI endpoint. 

The state parameter reflects user input directly into HTTP responses without sanitization or encoding.

Exploitation requires minimal sophistication: https://x.x.x.x/cgi-bin/radiusChallengeLogin?portalName=portal1&status=needchallenge&state=”><img/src=x+onerror=alert1>. 

CVETitleCVSS 3.1 ScoreSeverity
CVE-2025-40596Pre-Authentication Stack-Based Buffer Overflow7.3 High
CVE-2025-40597Pre-Authentication Heap-Based Buffer Overflow7.5High
CVE-2025-40598Reflected Cross-Site Scripting (XSS)6.1Medium

Notably, the SMA100’s Web Application Firewall features appear disabled on management interfaces, allowing even basic XSS payloads to execute successfully.

These vulnerabilities underscore persistent security challenges in network appliance development, where fundamental programming errors continue enabling pre-authentication attacks against critical infrastructure components. 

SonicWall has published an advisory addressing these issues through its Product Security Incident Response Team.

Organizations relying on SonicWall SMA100 series devices should immediately apply available patches and consider implementing additional network-level protections until full remediation is achieved.

Integrate ANY.RUN TI Lookup with your SIEM or SOAR To Analyses Advanced Threats -> Try 50 Free Trial Searches

Florence Nightingale

Florence Nightingale is a senior security and privacy reporter, covering data breaches, cybercrime, malware, and data leaks from cyber space daily.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

5 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago