RCE in 0xjacky Nginx-Ui
CVE-2024-22198
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.041 (90.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.041 · newest: 0.041 · change: 0.000
Affected products
- 0xjacky Nginx-Ui — versions < 2.0.0.beta.9
- Nginxui nginx Ui — versions 2.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35 (Exploit, Vendor Advisory)
- github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3 (Patch)
- github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/s… (Product)
- github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/t… (Product)
- github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/inter… (Product)
- github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/route… (Product)
- github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/setti… (Product)
Frequently asked questions
- What is CVE-2024-22198?
- CVE-2024-22198 is a high-severity vulnerability in 0xjacky Nginx-Ui, classified under Command Injection. CVSS score: 7.1/10. Published 2024-01-11.
- How severe is CVE-2024-22198?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2024-22198 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.