7

CVE-2024-22196

Exploit

Authenticated (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.

Daten sind bereitgestellt durch National Vulnerability Database (NVD)
NginxuiNginx Ui Version < 2.0.0
NginxuiNginx Ui Version2.0.0 Updatebeta1
NginxuiNginx Ui Version2.0.0 Updatebeta2
NginxuiNginx Ui Version2.0.0 Updatebeta3
NginxuiNginx Ui Version2.0.0 Updatebeta4
NginxuiNginx Ui Version2.0.0 Updatebeta4_patch
NginxuiNginx Ui Version2.0.0 Updatebeta5
NginxuiNginx Ui Version2.0.0 Updatebeta5_patch
NginxuiNginx Ui Version2.0.0 Updatebeta6
NginxuiNginx Ui Version2.0.0 Updatebeta6_patch
NginxuiNginx Ui Version2.0.0 Updatebeta6_patch2
NginxuiNginx Ui Version2.0.0 Updatebeta7
NginxuiNginx Ui Version2.0.0 Updatebeta8
NginxuiNginx Ui Version2.0.0 Updatebeta8_patch
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.58% 0.433
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 6.5 2.8 3.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
security-advisories@github.com 7 2.2 4.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

https://github.com/0xJacky/nginx-ui/commit/ec93ab05a3ecbb6bcf464d9dca48d74452df8a5b
Patch
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h374-mm57-879c
Vendor Advisory
Exploit