.. / CVE-2022-39986

Exploit for RaspAP 2.8.7 - Unauthenticated Command Injection (CVE-2022-39986)

Description:

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.

Nuclei Template

View the template here CVE-2022-39986.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-39986.yaml
Copy

References:

https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
https://nvd.nist.gov/vuln/detail/CVE-2022-39986
https://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php
http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html