CVE-2024-23828
JSON

8.8high

Nginx-UI authenticated RCE through injecting into the application config via CRLF

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
1.05% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qcjq-7f7v-pvc8GO-2024-2480

Description

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to an authenticated arbitrary command execution via CRLF attack when changing the value of test_config_cmd or start_cmd. This vulnerability exists due to an incomplete fix for CVE-2024-22197 and CVE-2024-22198. This vulnerability has been patched in version 2.0.0.beta.12.

Affected

Product or packageVersionsReported by
0xJacky nginx-ui< v2.0.0.beta.12CVE List
github.com/0xJacky/Nginx-UI (Go)before 1.9.10-0.20240126104956-d70e37c8575e, all versionsGitHub Advisory Database, Go Vulnerability Database
nginxui nginx_uibefore 2.0.0, 2.0.0NVD

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-74

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to an authenticated arbitrary command execution via CRLF attack when changing the value of test_config_cmd or start_cmd. This vulnerability exists due to an incomplete fix for CVE-2024-22197 and CVE-2024-22198. This vulnerability has been patched in version 2.0.0.beta.12.

GitHub Advisory Database
Summary

Fix bypass to the following bugs

Allowing to inject directly in the app.ini via CRLF to change the value of test_config_cmd and start_cmd resulting in an Authenticated RCE

Impact

Authenticated Remote execution on the host

Go Vulnerability Database

Nginx-UI vulnerable to authenticated RCE through injecting into the application config via CRLF in github.com/0xJacky/Nginx-UI.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/0xJacky/Nginx-UI before v2.0.0-beta.12.

NVD (es)

Nginx-UI es una interfaz web para administrar configuraciones de Nginx. Es vulnerable a la ejecución de un comando arbitrario autenticado mediante un ataque CRLF al cambiar el valor de test_config_cmd o start_cmd. Esta vulnerabilidad existe debido a una solución incompleta para CVE-2024-22197 y CVE-2024-22198. Esta vulnerabilidad ha sido parcheada en la versión 2.0.0.beta.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-23828 changed 2024-11-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-qcjq-7f7v-pvc8 changed 2026-07-06CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2480 changed 2024-07-09CC-BY-4.0
NVDCVE-2024-23828 changed 2026-06-17Public domain