{"id":"CVE-2024-49366","state":"PUBLISHED","title":"Nginx UI's json field can construct a directory traversal payload, causing arbitrary files to be written","description":"Nginx UI is a web user interface for the Nginx web server. Nginx UI v2.0.0-beta.35 and earlier gets the value from the json field without verification, and can construct a value value in the form of `../../`. Arbitrary files can be written to the server, which may result in loss of permissions. Version 2.0.0-beta.26 fixes the issue.","publishedAt":"2024-10-21T16:12:00.495Z","updatedAt":"2024-10-21T16:42:19.269Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/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-prv4-rx44-f7jr","https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49366.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-49366","state":"PUBLISHED","datePublished":"2024-10-21T16:12:00.495Z","dateUpdated":"2024-10-21T16:42:19.269Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-14T13:56:34.810Z"},"containers":{"cna":{"title":"Nginx UI's json field can construct a directory traversal payload, causing arbitrary files to be written","descriptions":[{"lang":"en","value":"Nginx UI is a web user interface for the Nginx web server. Nginx UI v2.0.0-beta.35 and earlier gets the value from the json field without verification, and can construct a value value in the form of `../../`. Arbitrary files can be written to the server, which may result in loss of permissions. Version 2.0.0-beta.26 fixes the 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-prv4-rx44-f7jr","name":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-prv4-rx44-f7jr","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":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-10-21T16:12:00.495Z"},"source":{"advisory":"GHSA-prv4-rx44-f7jr","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-21T16:37:16.731654Z","id":"CVE-2024-49366","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-21T16:42:19.269Z"}}]}}}