{"id":"CVE-2024-23827","published":"2024-01-29T16:07:13Z","modified":"2024-11-12T21:41:24Z","title":"Nginx-UI arbitrary file write through the Import Certificate feature","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01039,"percentile":0.63192,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":12.64},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.0.0.beta.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-01-31T20:16:58.531079Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","vulnerableRanges":["<1.9.10-0.20240128060047-8581bdd3c6f4","all versions"],"patched":["1.9.10-0.20240128060047-8581bdd3c6f4"],"from":["GHSA-xvq9-4vpv-227m","GO-2024-2481"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0460","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-22198","published":"2024-01-11","fixed":"1.9.10-0.20231219184941-827e76c46e63","kev":false},{"cve":"CVE-2024-22196","published":"2024-01-11","fixed":"1.9.10-0.20231219195202-ec93ab05a3ec","kev":false},{"cve":"CVE-2024-23828","published":"2024-01-29","fixed":"1.9.10-0.20240126104956-d70e37c8575e","kev":false,"link":{"from":"CVE-2024-23828","to":"CVE-2024-23827","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20240126104956-d70e37c8575e","toFixed":"1.9.10-0.20240128060047-8581bdd3c6f4","daysApart":0}]}},{"cve":"CVE-2024-23827","published":"2024-01-29","fixed":"1.9.10-0.20240128060047-8581bdd3c6f4","kev":false},{"cve":"CVE-2026-33031","published":"2026-04-20","fixed":"1.9.10-0.20260314152518-7b66578adb47","kev":false},{"cve":"CVE-2026-33026","published":"2026-03-30","fixed":"1.9.10-0.20260315015203-f61bcec547c0","kev":false},{"cve":"CVE-2026-34403","published":"2026-04-20","fixed":"1.9.10-0.20260316053337-1a9cd29a3082","kev":false}],"package":"Go:github.com/0xJacky/Nginx-UI"}}