{"id":"EUVD-2024-0301","enisaUuid":"2b540aaf-69ac-3f7f-a861-38e45d0eb291","description":"Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The `Home \u003e Preference` page exposes a list of system settings such as `Run Mode`, `Jwt Secret`, `Node Secret` and `Terminal Start Command`. While the UI doesn\u0027t allow users to modify the `Terminal Start Command` setting, it is possible to do so by sending a request to the API. This issue may lead to authenticated remote code execution, privilege escalation, and information disclosure. This vulnerability has been patched in version 2.0.0.beta.9.","datePublished":"Jan 11, 2024, 7:38:27 PM","dateUpdated":"Aug 1, 2024, 10:35:34 PM","baseScore":7.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","references":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35\nhttps://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/system/settings.go#L18\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/terminal/pty.go#L11\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/internal/pty/pipeline.go#L29\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/router/middleware.go#L45\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/settings/server.go#L12\n","aliases":"CVE-2024-22198\nGHSA-8r25-68wm-jw35\n","assigner":"GitHub_M","epss":4.06,"enisaIdProduct":[{"id":"e2457a77-ad6c-38c7-b656-ff962816a964","product":{"name":"nginx-ui","vendor":{"name":"0xJacky"}},"product_version":"\u003c 2.0.0.beta.9"}],"enisaIdVendor":[{"id":"b34ccf7b-0474-3b3c-98cd-4d5c40a311cc","vendor":{"name":"0xJacky"}}],"enisaIdVulnerability":[{"id":"82d99f94-00d5-35bf-b113-91b328015a81","vulnerability":{"id":"GHSA-8r25-68wm-jw35","description":"Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)","datePublished":"Jan 11, 2024, 4:32:14 PM","dateUpdated":"Jul 6, 2026, 7:10:47 PM","baseScore":null,"references":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-22198\nhttps://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3\nhttps://github.com/0xJacky/nginx-ui\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/system/settings.go#L18\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/terminal/pty.go#L11\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/internal/pty/pipeline.go#L29\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/router/middleware.go#L45\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/settings/server.go#L12\nhttps://pkg.go.dev/vuln/GO-2024-2462\n","enisa_id":"EUVD-2024-0301\n","aliases":"GHSA-8r25-68wm-jw35\nCVE-2024-22198\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:35:55 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"d1fdc21b-4c93-3d85-a121-407537390d78","vulnerability":{"id":"CVE-2024-22198","description":"Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The `Home \u003e Preference` page exposes a list of system settings such as `Run Mode`, `Jwt Secret`, `Node Secret` and `Terminal Start Command`. While the UI doesn\u0027t allow users to modify the `Terminal Start Command` setting, it is possible to do so by sending a request to the API. This issue may lead to authenticated remote code execution, privilege escalation, and information disclosure. This vulnerability has been patched in version 2.0.0.beta.9.","datePublished":"Jan 11, 2024, 7:38:27 PM","dateUpdated":"Aug 1, 2024, 10:35:34 PM","status":"PUBLISHED","baseScore":7.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","references":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35\nhttps://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/system/settings.go#L18\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/terminal/pty.go#L11\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/internal/pty/pipeline.go#L29\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/router/middleware.go#L45\nhttps://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/settings/server.go#L12\n","enisa_id":"EUVD-2024-0301\n","assigner":"GitHub_M","epss":4.06,"dataProcessed":"Nov 24, 2026, 7:27:23 AM","vulnerabilityProduct":[{"id":"1329d15b-b193-3a27-a1d9-6d347f4592e0","product":{"name":"nginx-ui","vendor":{"name":"0xJacky"}},"product_version":"\u003c 2.0.0.beta.9"}],"vulnerabilityVendor":[{"id":"3693a3d5-fe08-3635-b2a1-233b9306b4e6","vendor":{"name":"0xJacky"}}]}}],"enisaIdAdvisory":[]}