{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-22196","id":"CVE-2024-22196","title":"Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)","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 `o","descriptionLong":"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","published":"2024-01-11T19:24:07.984Z","updated":"2026-10-28T02:30:27.703398387Z","reserved":"2024-01-08T04:59:27.371Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["0xJacky nginx-ui"],"affectedProducts":[{"vendor":"0xJacky","product":"nginx-ui","defaultStatus":null,"versions":[{"version":"< 2.0.0.beta.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","ranges":["<1.9.10-0.20231219195202-ec93ab05a3ec"],"fixed":["1.9.10-0.20231219195202-ec93ab05a3ec"],"advisory":"GHSA-h374-mm57-879c"}],"cwes":["CWE-89"],"aliases":["GHSA-h374-mm57-879c","GO-2024-2463"],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/ec93ab05a3ecbb6bcf464d9dca48d74452df8a5b","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22196.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22196","tags":["advisory"]},{"url":"https://github.com/0xJacky/nginx-ui","tags":["package"]},{"url":"https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L278-L287","tags":["web"]},{"url":"https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L91","tags":["web"]},{"url":"https://github.com/0xjacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/model/model.go#L99C4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h374-mm57-879c","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00584,"epssPercentile":0.48715,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-22196","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22196","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-22196","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h374-mm57-879c","ok":true,"note":"GHSA-h374-mm57-879c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-22196","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nginx"],"critical":[],"attention":null}