The vulnerability is being exploited in the wild against Ubiquisys routers. Fully functional exploit code was made publicly available on August 2, 2011.
Vulnerability details
Advisory: SB2011080301 - Remote code execution in Valenok Mongoose
Vulnerable component: Mongoose
CVE-ID: CVE-2011-2900
CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C
CWE-ID: CWE-119 - Memory corruption
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.
Public Exploits:
- Simple HTTPd 1.42 - PUT Request Remote Buffer Overflow [Exploit-DB]
- Simple HTTPd 1.42 - Denial of Servive Exploit [Exploit-DB]
External links:
https://lists.fedoraproject.org/pipermail/package-announce/2011-September/065273.html
http://www.openwall.com/lists/oss-security/2011/08/03/5
https://cxsecurity.com/issue/WLB-2011080230
http://plugins.openvas.org/nasl.php?oid=802139
http://w.infosecisland.com/alertsview/15722-CVE-2011-2900-mongoose-shttpd-yasslews.html
http://nion.modprobe.de/blog/archives/704-Exploiting-the-UbiquisysSFR-femtocell-webserver-wsalshttpd...