PT-2023-6140 · Raspap · Raspap
Published
2023-08-01
·
Updated
2023-10-16
·
CVE-2022-39986
CVSS v2.0
10
Critical
| 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.8.7
Description
A command injection issue allows unauthenticated attackers to execute arbitrary commands via the
cfg id parameter in "/ajax/openvpn/activate ovpncfg.php" and "/ajax/openvpn/del ovpncfg.php". This is related to inadequate data cleaning at the management level, potentially allowing remote attackers to execute commands using a specially crafted POST request with the cfg id parameter.Recommendations
For RaspAP versions 2.8.0 through 2.8.7, consider disabling the
cfg id parameter in the affected API endpoints until a patch is available. Restrict access to the "/ajax/openvpn/activate ovpncfg.php" and "/ajax/openvpn/del ovpncfg.php" endpoints to minimize the risk of exploitation. 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