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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-22198— Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)

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之前版本存在命令注入漏洞,攻击者利用该漏洞可以通过修改 start_cmd设置来执行任意命令。

CVSS 7.1 · High EPSS 4.06% · P90
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-22198

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) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/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之前版本存在命令注入漏洞,攻击者利用该漏洞可以通过修改 start_cmd设置来执行任意命令。
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-22198

# POC Description Source Link Shenlong Link
1 Identify Nginx-ui version and check if it's vulnerable to CVE-2024-22198 https://github.com/xiw1ll/CVE-2024-22198_Checker POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-22198

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

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

Vendor Advisories for CVE-2024-22198 (1)

Other References for CVE-2024-22198 (5)

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

CVE-2024-22197 7.7 HIGH Authenticated (user role) remote command execution by modifying `nginx` settings (GHSL-202
CVE-2024-22196 7.0 HIGH Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)

IV. Related Vulnerabilities

V. Comments for CVE-2024-22198

No comments yet


Leave a comment