{"id":"CVE-2024-49368","state":"PUBLISHED","title":"Unchecked logrotate settings lead to arbitrary command execution","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.","publishedAt":"2024-10-21T17:04:43.652Z","updatedAt":"2024-11-01T03:55:22.893Z","severity":{"score":8.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["0xJacky nginx-ui"],"affected":[{"vendor":"0xJacky","product":"nginx-ui","versions":[{"version":"< 2.0.0-beta.36","status":"affected"}]}],"references":["https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm","https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49368.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-49368","state":"PUBLISHED","datePublished":"2024-10-21T17:04:43.652Z","dateUpdated":"2024-11-01T03:55:22.893Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-14T13:56:34.811Z"},"containers":{"cna":{"title":"Unchecked logrotate settings lead to arbitrary command execution","descriptions":[{"lang":"en","value":"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":[{"vendor":"0xJacky","product":"nginx-ui","versions":[{"version":"< 2.0.0-beta.36","status":"affected"}]}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm","name":"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","name":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-10-21T17:04:43.652Z"},"source":{"advisory":"GHSA-66m6-27r9-77vm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"nginxui","product":"nginx_ui","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.0.0-beta.36","versionType":"custom"}],"cpes":["cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-31T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2024-49368"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-01T03:55:22.893Z"}}]}}}