CVE-2024-22198

HIGH

Nginx-UI < 2.0.0.beta.9 - Authenticated Remote Code Execution via Terminal Start Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-22198. PoCs published by xiw1ll.

AI-analyzed exploit summary This repository contains a Python script that checks if a given Nginx-UI instance is vulnerable to CVE-2024-22198 by comparing its version against the patched version (2.0.0.beta.9). It does not include exploit code but provides a version-checking mechanism.

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

Exploits (1)

nomisec SCANNER
by xiw1ll · poc
https://github.com/xiw1ll/CVE-2024-22198_Checker

This repository contains a Python script that checks if a given Nginx-UI instance is vulnerable to CVE-2024-22198 by comparing its version against the patched version (2.0.0.beta.9). It does not include exploit code but provides a version-checking mechanism.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nginx-UI < 2.0.0.beta.9
No auth needed
Prerequisites: Network access to the Nginx-UI web interface
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.1
EPSS 0.1601
EPSS Percentile 94.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-77
Status published
Products (3)
0xJacky/Nginx-UI 0 - 2.0.0.beta.9Go
nginxui/nginx_ui 2.0.0 beta1 (13 CPE variants)
nginxui/nginx_ui < 2.0.0
Published Jan 11, 2024
Tracked Since Feb 18, 2026