GitHub Advisory Database
GHSA-7r88-wjhj-jr8m
RaspAP Command Injection vulnerability
Details
A Command injection vulnerability in RaspAP 2.8.0 thru 2.9.2 allows an authenticated attacker to execute arbitrary OS commands as root via the entity POST parameters in /ajax/networking/get_wgkey.php.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | billz/raspap-webgui | From 2.8.0 before 2.9.5 (fixed in 2.9.5) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-39987
- https://github.com/RaspAP/raspap-webgui/pull/1395
- https://github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d
- https://github.com/RaspAP/raspap-webgui
- https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php
- https://github.com/RaspAP/raspap-webgui/releases/tag/2.9.5
- https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2