CVE-2024-23827 CRITICAL

CVE-2024-23827: Nginx-UI arbitrary file write through the Import Certificate feature

Vendor 0Xjacky
Product nginx-ui
Weakness CWE-22 · Path traversal
Published January 29, 2024
Last update November 12, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

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.

Key dates

Disclosure timeline

January 29, 2024 CVE published
November 12, 2024 Record updated