{"id":"CVE-2024-49368","published":"2024-10-21T17:04:43Z","modified":"2026-11-04T00:06:07Z","title":"Unchecked logrotate settings lead to arbitrary command execution","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.27668,"percentile":0.98127,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36","tags":["x_refsource_MISC"]}],"priority":{"score":30.9,"factors":[{"name":"EPSS percentile","points":19.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.23}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-11-12","earliestUrl":"https://github.com/Aashay221999/CVE-2024-49368","repos":[{"name":"Aashay221999/CVE-2024-49368","url":"https://github.com/Aashay221999/CVE-2024-49368","stars":0,"created":"2024-11-12"}]},"first":{"date":"2024-11-12","source":"PoC-in-GitHub","url":"https://github.com/Aashay221999/CVE-2024-49368"},"provenance":"source"},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.0.0-beta.36"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-11-01T03:55:23.533080Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in the logrotate configuration feature of 0xJacky's nginx-ui, a web user interface for the Nginx web server, where input supplied for logrotate settings is passed directly to exec.Command without validation, resulting in an improper input validation weakness. An attacker with network access can exploit it without authentication or user interaction, and when the affected settings are configured, arbitrary commands can be executed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:32:15Z"},"euvd":{"id":"EUVD-2024-43405","exploited":false,"provenance":"source"}}