CVE-2012-10053
Simple Web Server Connection Header Buffer Overflow
- State
- Published
- Severity
- 9.3 Critical
- Published
- Aug 8, 2025
- Updated
- Apr 7, 2026
- Reserved
- Aug 8, 2025
Description
Simple Web Server 2.2 rc2 contains a stack-based buffer overflow vulnerability in its handling of the Connection HTTP header. When a remote attacker sends an overly long string in this header, the server uses vsprintf() without proper bounds checking, leading to a buffer overflow on the stack. This flaw allows remote attackers to execute arbitrary code with the privileges of the web server process. The vulnerability is triggered before authentication.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
Simple Web ServerPMSoftware |
|
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rbexploit
- https://www.exploit-db.com/exploits/19937exploit
- https://www.exploit-db.com/exploits/20028exploit
- http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/technical-descriptionexploit
- http://www.pmx.it/software/sws.aspproduct
- https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflowthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.