{"id":"CVE-2024-22196","published":"2024-01-11T19:24:07Z","modified":"2025-06-17T21:09:16Z","title":"Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"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.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00584,"percentile":0.48846,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/ec93ab05a3ecbb6bcf464d9dca48d74452df8a5b","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.77},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.0.0.beta.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-12T17:33:19.657229Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","vulnerableRanges":["<1.9.10-0.20231219195202-ec93ab05a3ec"],"patched":["1.9.10-0.20231219195202-ec93ab05a3ec"],"from":["GHSA-h374-mm57-879c","GO-2024-2463"],"provenance":"source"}],"summary":{"text":"A SQL injection flaw in the OrderAndPaginate function of 0xJacky's nginx-ui product, where the order and sort_by query parameters are appended to the order variable without sanitization. An attacker who can reach the application over the network and hold a user-role account can inject SQL through these parameters, which may lead to information disclosure, with exploitation requiring a specific condition on the request handling path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:33Z"},"euvd":{"id":"EUVD-2024-0362","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-22197","published":"2024-01-11","fixed":"1.9.10-0.20231219184941-827e76c46e63","kev":false},{"cve":"CVE-2024-22198","published":"2024-01-11","fixed":"1.9.10-0.20231219184941-827e76c46e63","kev":false,"link":{"from":"CVE-2024-22198","to":"CVE-2024-22196","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20231219184941-827e76c46e63","toFixed":"1.9.10-0.20231219195202-ec93ab05a3ec","daysApart":0}]}},{"cve":"CVE-2024-22196","published":"2024-01-11","fixed":"1.9.10-0.20231219195202-ec93ab05a3ec","kev":false},{"cve":"CVE-2024-23828","published":"2024-01-29","fixed":"1.9.10-0.20240126104956-d70e37c8575e","kev":false,"link":{"from":"CVE-2024-22196","to":"CVE-2024-23828","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20231219195202-ec93ab05a3ec","toFixed":"1.9.10-0.20240126104956-d70e37c8575e","daysApart":18}]}},{"cve":"CVE-2024-23827","published":"2024-01-29","fixed":"1.9.10-0.20240128060047-8581bdd3c6f4","kev":false},{"cve":"CVE-2026-33031","published":"2026-04-20","fixed":"1.9.10-0.20260314152518-7b66578adb47","kev":false}],"package":"Go:github.com/0xJacky/Nginx-UI"}}