Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-23827 EUVD-2024-0460GHSA-xvq9-4vpv-227mGO-2024-2481

Nginx-UI arbitrary file write through the Import Certificate feature

Published Jan 29, 2024 · Updated Nov 12, 2024 · Assigned by GitHub_M

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.

Affected products

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

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20240128060047-8581bdd3c6f4 1.9.10-0.20240128060047-8581bdd3c6f4 GHSA-xvq9-4vpv-227m
Go github.com/0xJacky/Nginx-UI all versions — GO-2024-2481

References