CVE-2012-10053
Simple Web Server 2.2 rc2 contains a stack-based buffer overflow vulnerability in its handling of the Connection HTTP header.
Does this matter?
2 public exploits are published in Exploit-DB (verified) and the impact is critical, while EPSS rates exploitation at 8.8%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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.
- CVSS 4.0
- 9.3 CRITICALCVSS: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/M
- EPSS
- 8.79% probability · 95th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 19 July 2012
- CISA KEV
- Not listed
- Weakness
- CWE-121
- Source
- disclosure@vulncheck.com
In plain terms
It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing special has to be got round first.
- Login needed
- None. No login is needed.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk on the affected system
- Reading data: serious. Changing data: serious. Stopping the service: serious.
Read from the CVSS 4.0 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 19 July 2012, about 13 years before the record was published.
EPSS moved from 8.8% on 24 November 2026 to 8.8% on 4 December 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.