Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nginxui | Nginx Ui | < 2.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c75Patch
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9mExploitVendor Advisory
- https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c75Patch
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9mExploitVendor Advisory
FAQ
What is CVE-2024-22197?
CVE-2024-22197 is a vulnerability with a CVSS score of 7.7 (HIGH). 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 su...
How severe is CVE-2024-22197?
CVE-2024-22197 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-22197?
Check the references section above for vendor advisories and patch information. Affected products include: Nginxui Nginx Ui.