CVE-2024-22197
CVE-2024-22197 is a high-severity vulnerability in Nginxui Nginx Ui with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.7)
- EPSS exploit prediction: 2% (74th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0396
- Weakness: CWE-77
- Affected product: Nginxui Nginx Ui
- Published:
- Last modified:
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.
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.
- How severe is CVE-2024-22197?
- CVE-2024-22197 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2024-22197 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (74th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-22197?
- CVE-2024-22197 primarily affects Nginxui Nginx Ui. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-22197?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-22197 have an EU (EUVD) identifier?
- Yes. CVE-2024-22197 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0396.
- When was CVE-2024-22197 published?
- CVE-2024-22197 was published on 2024-01-11 and last updated on 2026-06-17.
References
- https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9m
Affected products (14)
- cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:*
More vulnerabilities in Nginxui Nginx Ui
- CVE-2026-42238 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.8, nginx-ui exposes a backup restore…
- CVE-2026-33032 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. In versions 2.3.5 and prior, the nginx-ui MCP (Model Context…
- CVE-2026-27944 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.3, the /api/backup endpoint is…
- CVE-2024-49368 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures…
- CVE-2024-23827 — Critical (CVSS 9.8): Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into…
- CVE-2026-33026 — Critical (CVSS 9.1): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.4, the nginx-ui backup restore…
All CVEs affecting Nginxui Nginx Ui →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-105484 — Critical (CVSS 10.0): A security vulnerability has been detected in TOTOLINK X6000R 9.4.0cu.652_B20230116. The impacted element is the…
- CVE-2026-105134 — Critical (CVSS 10.0): A flaw has been found in Ahsay AhsayCBS up to 10.3.2. This vulnerability affects unknown code of the file…
- CVE-2026-102240 — Critical (CVSS 10.0): A vulnerability was found in Netcore NAP930 0.1.241010.141410. This affects the function eval of the file…
- CVE-2026-101076 — Critical (CVSS 10.0): A vulnerability was detected in Netcore NR289-GE 1.4.5102. This affects the function system of the file…
- CVE-2026-101075 — Critical (CVSS 10.0): A security vulnerability has been detected in Netcore NR289-GE 1.4.5102. The impacted element is the function system of…
- CVE-2026-101072 — Critical (CVSS 10.0): A vulnerability was identified in Netcore NR289-GE 1.4.5102. This issue affects the function system of the file…