Buffer overflow in Shttpd
CVE-2011-2900
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.133, 96.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Shttpd — versions 1.42
- Valenok Mongoose — versions 3.0
- Yassl Yasslews — versions 0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2011-11823 (vendor-advisory)
- www.securityfocus.com/bid/48980 (vdb-entry)
- code.google.com/p/mongoose/source/detail (Patch)
- secunia.com/advisories/45464 (third-party-advisory, Vendor Advisory)
- secunia.com/advisories/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, Patch)
- securityreason.com/securityalert/8337 (third-party-advisory)
- FEDORA-2011-11636 (vendor-advisory)