Unchecked logrotate settings lead to arbitrary command execution
CVE-2024-49368Published 21 Oct 2024, 17:04 UTC
Real-world risk
9.0/ 10Critical
Act now
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
What to do
Update to a fixed version: 2.0.0-beta.36.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T2: Likely to be exploited (× 0.90)
EPSS probability at least 0.10, or EPSS percentile at least 0.95
EPSS 28.1% chance of exploitation in 30 days (percentile 98), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T2: Likely to be exploited0.900
- 10 × impact 1 × prerequisites 1 × threat 0.99.000
- Rounded to one decimal between 0.1 and 109.0
Exploitation and evidence timeline
- 21 Oct 2024 Published
- 3 Dec 2026 Risk 9.0 (cvss fallback)
Weakness
CWE-20