CVE-2024-22197

HIGH
Published Jan 11, 2024 Modified Nov 21, 2024 CWE-77

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.

Is your site exposed to CVE-2024-22197?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.7
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Weakness Type (CWE)

CWE-77 CWE-77

Affected Products

Vendor Product
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui
nginxui nginx_ui

References

Frequently Asked Questions

What is CVE-2024-22197? +
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. It has a CVSS v3.1 base score of 7.7 (HIGH).
How severe is CVE-2024-22197? +
CVE-2024-22197 has a CVSS v3.1 score of 7.7 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-22197? +
CVE-2024-22197 affects products from nginxui, specifically: nginx_ui. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-22197? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-22197 — free, no signup required.