CVEvulnerability
CVE-2012-10053
9.3 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2025-08-08
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weaknesses
- CWE-121
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.
Related
Weakness · CWE (1)
- CWE-121 Stack-based Buffer Overflow weakness
References
- http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/ ghostinthelab.wordpress.com
- http://www.pmx.it/software/sws.asp www.pmx.it
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb raw.githubusercontent.com
- https://www.exploit-db.com/exploits/19937 www.exploit-db.com
- https://www.exploit-db.com/exploits/20028 www.exploit-db.com
- https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow www.vulncheck.com
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb raw.githubusercontent.com
- https://www.exploit-db.com/exploits/19937 www.exploit-db.com
- https://www.exploit-db.com/exploits/20028 www.exploit-db.com