Skip to content
Fencer Vulns
high 7.0

CVE-2024-22196 json

Authenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)

published 2024-01-11 2 y ago modified 2026-07-06 4 mo ago also GHSA-h374-mm57-879c , GO-2024-2463 , EUVD-2024-0362

cvss
7.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/0xJacky/Nginx-UI 1.9.10-0.20231219195202-ec93ab05a3ec
  • nginxui nginx_ui 2.0.0

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/0xJacky/Nginx-UI
<1.9.10-0.20231219195202-ec93ab05a3ec
1.9.10-0.20231219195202-ec93ab05a3ec

Affected products

  • 0xJacky nginx-ui

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.