PT-2023-8394 · Nginx-Ui · Nginx-Ui

Jorgectf

·

Publicado

2023-12-19

·

Atualizado

2024-02-08

·

CVE-2024-22198

CVSS v2.0

9.0

Alta

VetorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Nginx-UI versions prior to 2.0.0.beta.9
Description The issue concerns arbitrary command execution by abusing configuration settings in Nginx-UI, a web interface for managing Nginx configurations. The Home > Preference page exposes system settings such as Run Mode, Jwt Secret, Node Secret, and Terminal Start Command. Although the UI does not allow modification of the Terminal Start Command setting, it is possible to modify it by sending a request to the API. This can lead to authenticated remote code execution, privilege escalation, and information disclosure.
Recommendations For versions prior to 2.0.0.beta.9, update to version 2.0.0.beta.9 or later to resolve the issue. As a temporary workaround, consider restricting access to the Terminal Start Command setting and limiting the ability to send requests to the API that could modify this setting. Additionally, restrict access to the Home > Preference page to minimize the risk of exploitation.

Exploit

Correção

Command Injection

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

Enumeração de Fraquezas

Identificadores relacionados

BDU:2024-00625
CVE-2024-22198
GHSA-8R25-68WM-JW35
GO-2024-2462

Produtos afetados

Nginx-Ui