CVE-2024-22196
Nginxui Nginx Ui vulnerability
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.
Affected products
Nginx Ui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nginxui Nginx Ui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c · Exploit
- github.com/0xJacky/nginx-ui/commit/ec93ab05a3ecbb6bcf464d9dca48d74452df8a5b · Patch
- github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L
- github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L
- github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L
- nvd.nist.gov/vuln/detail/CVE-2024-22196
- github.com/advisories/GHSA-h374-mm57-879c
- nvd.nist.gov/vuln/detail/CVE-2024-22196
- cve.org/CVERecord?id=CVE-2024-22196
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.