CVE-2024-22197

High

Description

Nginx-ui is online statistics for Server Indicators​​ Monitor CPU usage, memory usage, load average, and disk usage in real-time. The `Home > Preference` page exposes a small list of nginx settings such as `Nginx Access Log Path` and `Nginx Error Log Path`. However, the API also exposes `test_config_cmd`, `reload_cmd` and `restart_cmd`. While the UI doesn't allow users to modify any of these settings, 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 issue has been patched in version 2.0.0.beta.9.

SeverityHigh
CVSS7.7
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.