CVE-2024-22196
MEDIUM 6.5CVSS 3.1Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)
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.
- Published
- 11 Jan 2024
- Last modified
- 6 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-h374-mm57-879cGO-2024-2463
- Sources
- NVDJSONOSV GHSA-h374-mm57-879cJSONOSV GO-2024-2463JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | nginxui | nginx_uicpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Go | github.com/0xJacky/Nginx-UI | < 1.9.10-0.20231219195202-ec93ab05a3ec | 1.9.10-0.20231219195202-ec93ab05a3ec |
References
- https://github.com/0xJacky/nginx-ui/commit/ec93ab05a3ecbb6bcf464d9dca48d74452df8a5b · Patch, WEB, FIX
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22196 · ADVISORY
- https://github.com/0xJacky/nginx-ui · PACKAGE
- https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L278-L287 · WEB
- https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L91 · WEB
- https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L99C4 · WEB
- https://github.com/advisories/GHSA-h374-mm57-879c · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 11 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jan 2024)