Security mailing lists by PureSourceCode

CVE-2024-22198

HIGH 8.8CVSS 3.1

Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The Home > Preference page exposes a list of system settings such as Run Mode, Jwt Secret, Node Secret and Terminal Start Command. While the UI doesn't 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.

Published
11 Jan 2024
Last modified
6 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-77
Also known as
GHSA-8r25-68wm-jw35GO-2024-2462
Sources
NVDJSONOSV GHSA-8r25-68wm-jw35JSONOSV GO-2024-2462JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
< 2.0.0 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:*
= 2.0.0
NVD nginxui nginx_ui
cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:*
= 2.0.0
OSV Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219184941-827e76c46e63 1.9.10-0.20231219184941-827e76c46e63

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 11 Jan 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jan 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.