CVE-2024-22198

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

Description

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.

Is your site exposed to CVE-2024-22198?

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

CVSS v3.1 Score

7.1
HIGH
CVSS:3.1/AV:N/AC:H/PR:L/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

Other References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 7.1 (HIGH).
How severe is CVE-2024-22198? +
CVE-2024-22198 has a CVSS v3.1 score of 7.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-22198? +
CVE-2024-22198 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-22198? +
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-22198 — free, no signup required.