CVE-2012-10053

CRITICAL EPSS 70.3%
Published Aug 8, 202510mo ago · Modified Jun 16, 20261w ago
9.3 CVSS 4.0
Critical
Find Similar
Published Aug 8, 2025 10mo ago
Last Modified Jun 16, 2026 1w ago

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 Details

Base Score
9.3
Exploitability
Impact
Vector string
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
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
70.3% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-121

References 6

  • ghostinthelab.wordpress.com http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/
  • pmx.it http://www.pmx.it/software/sws.asp
  • raw.githubusercontent.com https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb
  • exploit-db.com https://www.exploit-db.com/exploits/19937
  • exploit-db.com https://www.exploit-db.com/exploits/20028
  • vulncheck.com https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.