Path Traversal in 0xjacky Nginx-Ui
CVE-2024-23827
Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- 0xjacky Nginx-Ui — versions < 2.0.0.beta.12
- Nginxui nginx Ui — versions 1.2.0, 1.2.1, 1.2.2
Weakness classification (CWE)
References
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m (Third Party Advisory)