CVE-2012-10053
Simple Web Server Connection Header Buffer Overflow
Vexday Risk Score
63High priority
SSVC decision (CISA)
Attend
PoC available → attend closely
CVSS 9.3EPSS 1.5%KEV nãoPoC públicaNuclei —Metasploit simPatch —
Lifecycle
22 Jan 2010Metasploit module available
08 Aug 2025Published on NVD
Recommendation: Plan a near-term fix — a public PoC already exists.
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.
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
Affected products
PMSoftware · Simple Web Serverpublic PoCs found — 4
cve_referenceghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/unverifiedcve_referenceraw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rbunverifiedcve_referencewww.exploit-db.com/exploits/19937unverifiedcve_referencewww.exploit-db.com/exploits/20028unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rbhttps://www.exploit-db.com/exploits/19937https://www.exploit-db.com/exploits/20028https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflowhttp://www.pmx.it/software/sws.asp