Remote code execution in Valenok Mongoose

Published: 2011-08-03 | Updated: 2017-03-14
Severity High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2011-2900
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Server applications / Web servers

Web applications / JS libraries

Universal components / Libraries / Libraries used by multiple products


Security Advisory

This security advisory describes one high risk vulnerability.

1) Stack-based buffer overflow

Severity: High

CVSSv3: 9.3 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C] [PCI]

CVE-ID: CVE-2011-2900

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer


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.


Install update from vendor's website:

Vulnerable software versions

SHTTPD: 1.42

Mongoose: 3.0

yaSSL: 0.2

CPE External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.

ImmuniWeb® AI Platform for Application Security Testing