CVE-2012-10053
Simple Web Server 2.2 rc2 contains a stack-based buffer overflow …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-expl
- www.pmx.it/software/sws.asp
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http
- www.exploit-db.com/exploits/19937
- www.exploit-db.com/exploits/20028
- www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow
- nvd.nist.gov/vuln/detail/CVE-2012-10053
- cve.org/CVERecord?id=CVE-2012-10053
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.