Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
0xJacky nginx-ui
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nginx UI是Jacky个人开发者的一个 Nginx 的 WebUI。 Nginx UI 2.0.0.beta.9之前版本存在命令注入漏洞,攻击者利用该漏洞可以通过修改 nginx设置来执行任意命令。

CVSS 7.7 · High EPSS 1.54% · P74
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-22197

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authenticated (user role) remote command execution by modifying `nginx` settings (GHSL-2023-269)
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Nginx UI 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nginx UI是Jacky个人开发者的一个 Nginx 的 WebUI。 Nginx UI 2.0.0.beta.9之前版本存在命令注入漏洞,攻击者利用该漏洞可以通过修改 nginx设置来执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
0xJacky nginx-ui < 2.0.0.beta.9 -

II. Public POCs for CVE-2024-22197

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8296 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-22197

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-22197 (1)

Vendor Advisories for CVE-2024-22197 (1)

Same Patch Batch · 0xJacky · 2024-01-11 · 3 CVEs total

CVE-2024-22198 7.1 HIGH Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GH
CVE-2024-22196 7.0 HIGH Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)

IV. Related Vulnerabilities

V. Comments for CVE-2024-22197

No comments yet


Leave a comment