Skip to content
OpenAdvisories
High · 7.0 CVE-2024-22196 EUVD-2024-0362GHSA-h374-mm57-879cGO-2024-2463

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

Published Jan 11, 2024 · Updated Jun 17, 2025 · Assigned by GitHub_M

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 `order` variable without any sanitization. This issue has been patched in version 2.0.0.beta.9.

Affected products

VendorProductAffectedFixed
0xJacky nginx-ui < 2.0.0.beta.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219195202-ec93ab05a3ec 1.9.10-0.20231219195202-ec93ab05a3ec GHSA-h374-mm57-879c

References