CVE-2024-49368 Unchecked logrotate settings lead to arbitrary command execution
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2024-49368?
CVE-2024-49368 is a high-severity vulnerability in 0xJacky nginx-ui, published on 21 Oct 2024.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-49368?
It affects 1 product.
Products include Nginxui Nginx Ui.
How do I fix CVE-2024-49368?
No fix has been published for CVE-2024-49368 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-49368 being exploited?
There is no known exploitation of CVE-2024-49368 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in 0xJacky nginx-ui
- CVE-2026-33032 Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover
- CVE-2026-27944 Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure
- CVE-2024-23827 Nginx-UI arbitrary file write through the Import Certificate feature
- CVE-2026-107806 Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite
- CVE-2026-33026 nginx-ui Backup Restore Allows Tampering with Encrypted Backups
Sources
Also known as GHSA-66m6-27r9-77vm.