Description
Stack-based buffer overflow in the (1) put_dir function in mongoose.c in Mongoose 3.0, (2) put_dir function in yasslEWS.c in yaSSL Embedded Web Server (yasslEWS) 0.2, and (3) _shttpd_put_dir function in io_dir.c in Simple HTTPD (shttpd) 1.42 allows remote attackers to execute arbitrary code via an HTTP PUT request, as exploited in the wild in 2011.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Simple HTTPd 1.42 - 'PUT' Remote Buffer Overflow EDB-17669 · remote · Aug 15, 2011
- Simple HTTPd 1.42 - Denial of Servive EDB-17658 · dos · Aug 12, 2011
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- FEDORA-2011-11823 vendor-advisory
- 48980 vdb-entry
- https://code.google.com/p/mongoose/source/detail?r=556f4de91eae4bac40dc5d4ddbd9ec7c424711d0
- 45464 third-party-advisory
- 45902 third-party-advisory
- FEDORA-2011-11825 vendor-advisory
- mongoose-put-bo(68991) vdb-entry
- [oss-security] 20110803 CVE id request: shttpd/mongoose/yassl embedded webserver mailing-list
- 8337 third-party-advisory
- FEDORA-2011-11636 vendor-advisory
- [oss-security] 20110803 Re: CVE id request: shttpd/mongoose/yassl embedded webserver mailing-list