{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-23827","id":"CVE-2024-23827","title":"Nginx-UI arbitrary file write through the Import Certificate feature","description":"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 fixe","descriptionLong":"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.","published":"2024-01-29T16:07:13.953Z","updated":"2026-10-28T02:30:27.454336604Z","reserved":"2024-01-22T22:23:54.338Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["0xJacky nginx-ui"],"affectedProducts":[{"vendor":"0xJacky","product":"nginx-ui","defaultStatus":null,"versions":[{"version":"< 2.0.0.beta.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","ranges":["<1.9.10-0.20240128060047-8581bdd3c6f4","all versions"],"fixed":["1.9.10-0.20240128060047-8581bdd3c6f4"],"advisory":"GHSA-xvq9-4vpv-227m"}],"cwes":["CWE-22"],"aliases":["GHSA-xvq9-4vpv-227m","GO-2024-2481"],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23827.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23827","tags":["advisory"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/8581bdd3c6f49ab345b773517ba9173fa7fc6199","tags":["web"]},{"url":"https://github.com/0xJacky/nginx-ui","tags":["package"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/api/certificate/certificate.go#L72","tags":["web"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/internal/cert/write_file.go#L15","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00705,"epssPercentile":0.5406,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-23827","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23827","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-23827","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xvq9-4vpv-227m","ok":true,"note":"GHSA-xvq9-4vpv-227m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-23827","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["nginx"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}