CVE-2024-22198Nginxui 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
- 4.7% probability of exploitation in 30 days · percentile 93
- 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 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.
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-8r25-68wm-jw35, GO-2024-2462). 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 Product
- github.com Product
- github.com Product
- github.com Product
- github.com Product
- github.com Patch
- github.com Exploit Vendor Advisory