CVE-2024-49368
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.
CWE
- CWE-20 — CWE-20: Improper Input Validation
Affected
- 0xJacky / nginx-ui — v=< 2.0.0-beta.36 [affected]
CVSS
- 4.0 score=8.9 severity=HIGH
CVSS: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
References
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm x_refsource_CONFIRM
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36 x_refsource_MISC
Source
cvelistV5-main/cves/2024/49xxx/CVE-2024-49368.json