PT-2023-6140 · Raspap · Raspap

CVE-2022-39986

·

Publicado

2023-08-01

·

Atualizado

2023-10-16

CVSS v2.0

10

Crítica

VetorAV: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

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-06846
CVE-2022-39986
GHSA-7C28-WG7R-PG6F

Produtos afetados

Raspap