GitHub Advisory Database
GHSA-7c28-wg7r-pg6f
RaspAP Command Injection vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | billz/raspap-webgui | From 2.8.0 before 2.8.8 (fixed in 2.8.8) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-39986
- https://github.com/RaspAP/raspap-webgui/pull/1303
- https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e
- https://github.com/RaspAP/raspap-webgui
- https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php
- https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2