Stack-based buffer overflow in yassl.com products - CVE-2011-2900

 

Stack-based buffer overflow in yassl.com products - CVE-2011-2900

Published: December 27, 2016 / Updated: March 14, 2017


Vulnerability identifier: #VU2935
CSH Severity: High
CVSS v4.0: 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:A/U:Amber
CVE-ID: CVE-2011-2900
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: shttpd.sourceforge.net
Cesanta Software Ltd.
yassl.com
Affected software:
SHTTPD
Mongoose
yaSSL

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to stack-based buffer overflow, caused by improper bounds checking by the put_dir() function when processing malicious requests. A remote attacker can send a specially crafted HTTP PUT request, trigger memory corruption and execute arbitrary code with privileges of the current user.

Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.

Note: the vulnerability was being actively exploited.

How to mitigate CVE-2011-2900

Install update from vendor's website:
https://code.google.com/archive/p/mongoose/

Sources