All vulnerabilities

Servers and applications

CVE-2024-22198

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

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-8r25-68wm-jw35
Sources
NVD, Project advisories (GitHub)

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 > 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…

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-22198
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-22198
  • GitHub Advisory Database https://github.com/advisories/GHSA-8r25-68wm-jw35
  • github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35