CVE-2024-49368: Unchecked logrotate settings lead to arbitrary command execution
Vulnerability summary
CVE-2024-49368 is a critical (CVSS 9.8) Improper Input Validation vulnerability in 0xjacky nginx-ui. EPSS estimates a 27.67% chance of exploitation in the next 30 days, higher than 98% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 03-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.9HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
27.67%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 27.67% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNginx Ui
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
0xjacky1 product
- nginx-ui< 2.0.0-beta.36
Nginxui1 product
- nginx_ui≤ 1.9.9-4 | 2.0.0:beta1 | 2.0.0:beta10 | 2.0.0:beta10_patch | 2.0.0:beta11 | 2.0.0:beta12 | 2.0.0:beta13 | 2.0.0:beta13-patch | 2.0.0:beta14 | 2.0.0:beta15 | 2.0.0:beta16 | 2.0.0:beta17 | 2.0.0:beta18 | 2.0.0:beta18-patch1 | 2.0.0:beta18-patch2 | 2.0.0:beta19 | 2.0.0:beta2 | 2.0.0:beta20 | 2.0.0:beta21 | 2.0.0:beta22 | 2.0.0:beta23 | 2.0.0:beta23-patch1 | 2.0.0:beta23-ptach2 | 2.0.0:beta24 | 2.0.0:beta25 | 2.0.0:beta25-patch1 | 2.0.0:beta25-ptach2 | 2.0.0:beta27 | 2.0.0:beta28 | 2.0.0:beta29 | 2.0.0:beta3 | 2.0.0:beta30 | 2.0.0:beta31 | 2.0.0:beta32 | 2.0.0:beta32-patch1 | 2.0.0:beta33 | 2.0.0:beta34 | 2.0.0:beta35 | 2.0.0:beta4 | 2.0.0:beta4_patch | 2.0.0:beta5 | 2.0.0:beta5_patch | 2.0.0:beta6 | 2.0.0:beta6_patch | 2.0.0:beta6_patch2 | 2.0.0:beta7 | 2.0.0:beta8 | 2.0.0:beta8_patch | 2.0.0:beta9
2 vendors · 2 products
References
2 links- github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vmX Refsource CONFIRMExploitVendor Advisory