Live threats

All CVEs / Nginxui

CVE-2024-22197Nginxui Nginx Ui

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
Yes
Published
Jan 11, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nginx Ui.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219184941-827e76c46e63 1.9.10-0.20231219184941-827e76c46e63 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20231219184941-827e76c46e63
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219184941-827e76c46e63 1.9.10-0.20231219184941-827e76c46e63 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20231219184941-827e76c46e63

Per OSV / GitHub Advisories (GHSA-pxmr-q2x3-9x9m, GO-2024-2464). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nginxuinginx_ui< 2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0

Official sources

References

Links published by the sources. Open them with care.