CVE-2024-49368

Unchecked logrotate settings lead to arbitrary command execution

State
Published
Severity
8.9 High
Published
Oct 21, 2024
Updated
Nov 1, 2024
Reserved
Oct 14, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.9 HighCVSS: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:PGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
nginx-ui0xJacky
  • < 2.0.0-beta.36Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.