github.com
https://github.com/0xJacky/nginx-ui CVE-2024-23827
Nginx-UI arbitrary file write through the Import Certificate feature
Description
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.
Description source: CVE List
Exploitation context
CISA SSVC decision
ExploitationPoC
AutomatableYes
Technical impactTotal
CISA Coordinator · SSVC 2.0.3 · Evaluated Jan 31, 2024 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
nginx-uiBrowse 0xJacky / nginx-ui | CVE List | < 2.0.0.beta.12 | affected |
github.com/0xJacky/Nginx-UIBrowse Go / github.com/0xJacky/Nginx-UI | GitHub Advisory | Before 1.9.10-0.20240128060047-8581bdd3c6f4 · Fixed in 1.9.10-0.20240128060047-8581bdd3c6f4 | affected |
References
6github.com
https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/api/certificate/certificate.go github.com
https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/internal/cert/write_file.go github.com
https://github.com/0xJacky/nginx-ui/commit/8581bdd3c6f49ab345b773517ba9173fa7fc6199 github.comConfirmation
https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2024-23827