Skip to content
OpenAdvisories
High · 8.9 Public exploit CVE-2024-49368 EUVD-2024-43405

Unchecked logrotate settings lead to arbitrary command execution

Published Oct 21, 2024 · Updated Nov 4, 2026 · Assigned by GitHub_M

Description

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.

Affected products

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

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References