CVE-2024-22198

High

Description

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The `Home > Preference` page exposes a list of system settings such as `Run Mode`, `Jwt Secret`, `Node Secret` and `Terminal Start Command`. While the UI doesn't allow users to modify the `Terminal Start Command` setting, it is possible to do so by sending a request to the API. This issue may lead to authenticated remote code execution, privilege escalation, and information disclosure. This vulnerability has been patched in version 2.0.0.beta.9.

SeverityHigh
CVSS7.1
Exploit probability—
ProductNginxui Nginx Ui
PublishedJan 11, 2024
First seenJan 11, 2024

How to fix

Update
  • nginxui nginx_ui2.0.0 or later
  • github.com/0xJacky/Nginx-UI1.9.10-0.20231219184941-827e76c46e63 or later

Affected products

ProductAffected versionsFixed in
nginxui nginx_uiv < 2.0.0, 2.0.02.0.0
github.com/0xJacky/Nginx-UIGov < 1.9.10-0.20231219184941-827e76c46e631.9.10-0.20231219184941-827e76c46e63

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-22198 · Nginxui Nginx Ui · Dark Radar