Paper/Archive/CVE-2024-49368

CVE-2024-49368

0xJacky nginx-ui — Unchecked logrotate settings lead to arbitrary command execution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
nginx-ui< 2.0.0-beta.36–CNA
nginx_ui< 2.0.0-beta.362.0.0-beta.36CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.9CVSS: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
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vmrefgithub.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36