Stack-based buffer overflow in Cesanta Software Ltd. products - CVE-2011-2900

 

Stack-based buffer overflow in Cesanta Software Ltd. products - CVE-2011-2900

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


Vulnerability identifier: #VU2935
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2011-2900
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.

Affected software

yaSSL
SHTTPD
Mongoose
Fedora
mongoose

How to mitigate CVE-2011-2900

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

mongoose - addressed in versions 2.8-7.el5, 2.8-7.el6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins