Security mailing lists by PureSourceCode

CVE-2024-22197

HIGH 8.8CVSS 3.1

Authenticated (user role) remote command execution by modifying `nginx` settings (GHSL-2023-269)

Nginx-ui is online statistics for Server Indicators​​ Monitor CPU usage, memory usage, load average, and disk usage in real-time. The Home > Preference page exposes a small list of nginx settings such as Nginx Access Log Path and Nginx Error Log Path. However, the API also exposes test_config_cmd, reload_cmd and restart_cmd. While the UI doesn't allow users to modify any of these settings, 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 issue 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-pxmr-q2x3-9x9mGO-2024-2464
Sources
NVDJSONOSV GHSA-pxmr-q2x3-9x9mJSONOSV GO-2024-2464JSON

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.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:H/PR:N/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 17 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.