cve/2024/CVE-2024-22196.md
2024-06-09 00:33:16 +00:00

19 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-22196](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22196)
![](https://img.shields.io/static/v1?label=Product&message=nginx-ui&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%202.0.0.beta.9%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20SQL%20Command%20('SQL%20Injection')&color=brighgreen)
### Description
Nginx-UI is an online statistics for Server Indicators Monitor CPU usage, memory usage, load average, and disk usage in real-time. This issue may lead to information disclosure. By using `DefaultQuery`, the `"desc"` and `"id"` values are used as default values if the query parameters are not set. Thus, the `order` and `sort_by` query parameter are user-controlled and are being appended to the `order` variable without any sanitization. This issue has been patched in version 2.0.0.beta.9.
### POC
#### Reference
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds