8.8

CVE-2024-22197: Authenticated (user role) remote command execution by modifying `nginx` settings (GHSL-2023-269)

Modified
AliasesGHSA-pxmr-q2x3-9x9mGO-2024-2464
Published 11-01-2024Last modified 17-06-2025

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.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
1.54%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 11-01-2024
    PublishedVulnerability first disclosed.
  2. 17-06-2025
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Nginx Ui

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

0xjacky1 product
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