The vulnerability is being exploited in the wild against Ubiquisys routers. Fully functional exploit code was made publicly available on August 2, 2011.
Vulnerable component: Mongoose
CVSSv3 score: 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
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.
- Simple HTTPd 1.42 - Denial of Servive Exploit [Exploit-DB]
- Simple HTTPd 1.42 - PUT Request Remote Buffer Overflow [Exploit-DB]