Summary
CVE-2023-54419 is an authentication bypass leading to unauthenticated remote code execution in nginxWebUI (cym1102). It affects versions 3.0.0 before 3.5.8 and is rated Critical (CVSS v4.0 9.3; CVSS v3.1 9.8).
Technical details
- Root cause: the authentication filter matches request paths case-sensitively. Alternate casing (for example
/AdminPage/instead of/adminPage/) evades the filter. - Trigger conditions: a network-reachable nginxWebUI instance running an affected version. No credentials or user interaction are required.
- Attack vector: network. An attacker sends a request with alternate path casing to the
/AdminPage/conf/runCmdendpoint. - Impact: OS commands supplied through the endpoint’s parameter are executed because parameter filtering is insufficient. This gives remote code execution on the host.
Affected software
- nginxWebUI 3.0.0 through 3.5.7 (fixed in 3.5.8)
Severity
- CVSS v4.0: 9.3 (Critical),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade nginxWebUI to version 3.5.8 or later.
- If you cannot patch immediately: do not expose the nginxWebUI management interface to the internet. Restrict access to trusted networks, for example with firewall rules or a VPN.
- Review affected hosts for unexpected commands or processes launched by the nginxWebUI service.

