SecurityContext

CVE-2012-10053: Simple Web Server - Buffer Overflow

  • Cve: CVE-2012-10053
  • Name: Simple Web Server - Buffer Overflow
  • 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.
  • Impact: Remote attackers can execute arbitrary code with web server privileges, potentially leading to full server compromise.
  • Remediation: Update to the latest version of Simple Web Server.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: 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
  • Epss score: 0.01943
  • Epss percentile: 0.80707
  • Assignee: [email protected]
  • Published at: 2025-08-08T19:15:35Z
  • Age in days: 473
  • Modified at: 2026-06-16T23:38:45Z
  • Public exploits total: 2
  • References total: 6
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-10053
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/sws_connection_bof.rbmetasploit2012-07-20
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/somplplayer_m3u.rbmetasploit2010-01-22

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2010-01-22
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts