All vulnerabilities

Servers and applications

CVE-2024-22197

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

Severity
High 8.8
Published
11 Jan 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.0.0.beta.8, 2.0.0
Also known as
GHSA-pxmr-q2x3-9x9m
Sources
NVD, Project advisories (GitHub)

Description

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…

Affected software

SoftwareAffected versions
Nginx UIServers and applications · cpe:a:nginxui:nginx_ui
  • Version 2.0.0-beta8_patch
  • Version 2.0.0-beta8
  • Version 2.0.0-beta7
  • Version 2.0.0-beta6_patch2
All 14 release lines
  • Every version before 2.0.0
  • Version 2.0.0-beta1
  • Version 2.0.0-beta2
  • Version 2.0.0-beta3
  • Version 2.0.0-beta4
  • Version 2.0.0-beta4_patch
  • Version 2.0.0-beta5
  • Version 2.0.0-beta5_patch
  • Version 2.0.0-beta6
  • Version 2.0.0-beta6_patch
  • Version 2.0.0-beta6_patch2
  • Version 2.0.0-beta7
  • Version 2.0.0-beta8
  • Version 2.0.0-beta8_patch
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • Every version before 2.0.0.beta.8

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-22197
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-22197
  • GitHub Advisory Database https://github.com/advisories/GHSA-pxmr-q2x3-9x9m
  • github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9m