What’s Vulnerable › Vulnerabilities
CVE-2012-10053: Simple Web Server Connection Header Buffer Overflow
- Severity: critical (CVSS 9.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-08 · updated 2026-06-16
- Weakness: 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.
Affected products
- PMSoftware Simple Web Server: 2.2 rc2
References
- http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/
- http://www.pmx.it/software/sws.asp
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb
- https://www.exploit-db.com/exploits/19937
- https://www.exploit-db.com/exploits/20028
- https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb
- https://www.exploit-db.com/exploits/19937
- https://www.exploit-db.com/exploits/20028
Get alerted when CVE-2012-10053 or the next vulnerability affects your stack