CVE-2024-22197: Authenticated (user role) remote command execution by modifying `nginx` settings (GHSL-2023-269)
Vulnerability summary
CVE-2024-22197 is a high (CVSS 8.8) vulnerability in 0xjacky nginx-ui. EPSS estimates a 1.54% chance of exploitation in the next 30 days, higher than 74.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 11-01-2024PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:LDiffers
- OSV · GoEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:LDiffers
EPSS trend
Probability
1.54%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.54% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNginx Ui
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
0xjacky1 product
- nginx-ui< 2.0.0.beta.9
Github.com/0xJacky1 product
- Nginx-UI< 1.9.10-0.20231219184941-827e76c46e63
Nginxui1 product
- nginx_ui< 2.0.0 | 2.0.0:beta1 | 2.0.0:beta2 | 2.0.0:beta3 | 2.0.0:beta4 | 2.0.0:beta4_patch | 2.0.0:beta5 | 2.0.0:beta5_patch | 2.0.0:beta6 | 2.0.0:beta6_patch | 2.0.0:beta6_patch2 | 2.0.0:beta7 | 2.0.0:beta8 | 2.0.0:beta8_patch
3 vendors · 3 products
References
9 links- github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9mX Refsource CONFIRMWEBExploitVendor Advisory
- github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3X Refsource MISCWEBFIXPatch
- github.com/0xJacky/nginx-uiPACKAGE