PT-2023-6139 · Raspap · Raspap
Published
2023-08-01
·
Updated
2023-10-16
·
CVE-2022-39987
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
RaspAP versions 2.8.0 through 2.9.2
Description
The issue is related to a command injection vulnerability. It allows an authenticated attacker to execute arbitrary OS commands as root via the
entity POST parameters in the /ajax/networking/get wgkey.php endpoint. This can be achieved by sending a specially crafted POST request.Recommendations
For RaspAP versions 2.8.0 through 2.9.2, consider restricting access to the
/ajax/networking/get wgkey.php endpoint to minimize the risk of exploitation. As a temporary workaround, avoid using the entity parameter in the affected endpoint until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Raspap