CVE-2024-22197Nginxui Nginx Ui
High 8.8
Follow: this CVE · Nginxui · Nginxui Nginx Ui We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Nginx Ui.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| nginxui | nginx_ui | < 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
| nginxui | nginx_ui | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory