关联漏洞
Description
Identify Nginx-ui version and check if it's vulnerable to CVE-2024-22198
介绍
# CVE-2024-22198 - authenticated remote code execution in Nginx-ui
## Description
This tool made for remote checking your Nginx-ui version and notify if it's vulnerable to 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.
## Example
```
➜ python3 nginxui_checker.py http://172.17.0.4
[!] Nginx-ui version: 2.0.0-beta.8 Vulnerable: True
```
## Exploit
N/A
## References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22198
文件快照
[4.0K] /data/pocs/5c41d5ee7e33fbf184756aad8b515e062c7450d2
├── [1.5K] nginxui_checker.py
└── [ 994] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮件到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对 POC 代码进行快照,为了长期维护,请考虑为本地 POC 付费/捐赠,感谢您的支持。