CVE-2024-22198

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

Published Jan 11, 2024 CVSS 3.1 · 7.1 High EPSS 4.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8r25-68wm-jw35 Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 1, 2024, 10:35 PM
Reserved
Jan 8, 2024, 4:59 AM
Status
Modified
Published
Jan 11, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:10 AM