{"id":"CVE-2012-10053","published":"2025-08-08T18:12:53Z","modified":"2026-04-07T14:02:46Z","title":"Simple Web Server Connection Header Buffer Overflow","vendor":"PMSoftware","product":"Simple Web Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01943,"percentile":0.80677,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/19937","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/20028","tags":["exploit"]},{"url":"http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/","tags":["technical-description","exploit"]},{"url":"http://www.pmx.it/software/sws.asp","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow","tags":["third-party-advisory"]}],"priority":{"score":27.6,"factors":[{"name":"EPSS percentile","points":16.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"metasploit":[{"name":"S.O.M.P.L 1.0 Player Buffer Overflow","module":"exploit/windows/fileformat/somplplayer_m3u","type":"exploit","disclosureDate":"2010-01-22","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/somplplayer_m3u.rb"},{"name":"Simple Web Server Connection Header Buffer Overflow","module":"exploit/windows/http/sws_connection_bof","type":"exploit","disclosureDate":"2012-07-20","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/sws_connection_bof.rb"}],"first":{"date":"2010-01-22","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/somplplayer_m3u.rb"},"provenance":"source"},"vendorSlug":"pmsoftware","affectedVersions":[{"vendor":"PMSoftware","product":"Simple Web Server","versions":["2.2 rc2"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-08T18:48:34.021500Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2012-6582","exploited":false,"provenance":"source"},"exploitRefs":["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","http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/"]}