An unauthenticated attacker can reach a command-execution endpoint in nginxWebUI 3.0.0 through 3.5.7 by changing the case of the URL path, which gives them remote code execution on the host.
What Is It
CVE-2023-54419 is an authentication bypass in nginxWebUI that leads to remote code execution. The login filter only protects paths starting with /adminPage/, and it matches case-sensitively. A request to /AdminPage/conf/runCmd gets past the filter and reaches the command endpoint without logging in.
Commands passed in the cmd parameter run through /bin/sh. The input filtering does not adequately handle the & and $() characters. VulnCheck reported the issue, and it is classified as CWE-178.
Why It Matters
- CVSS 3.1: 9.8 Critical (
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). - CVSS 4.0: 9.3 Critical.
- No privileges or user interaction are needed, and the attack works over the network.
- Exploited in the wild: according to the NVD description, the Shadowserver Foundation first saw exploitation evidence on 2023-10-14. The CVE was only published on 2026-11-18, so exploitation came roughly three years before the identifier existed.
- CISA SSVC: exploitation is "poc", automatable is "yes" and technical impact is "total".
- Public exploit code: the references include a Nuclei template and a Goby PoC.
- Not in KEV: no CISA KEV entry was supplied for this CVE, so KEV does not confirm active exploitation and no KEV due date or required action applies.
What's Vulnerable
- Vendor: cym1102
- Product: nginxWebUI
- Affected versions: 3.0.0 up to but not including 3.5.8
Versions outside that range are listed as unaffected. The NVD record is still in "Received" status and does not list any CPEs yet.
Patch Status
The affected range ends before 3.5.8, so 3.5.8 is the first version outside it. Upgrade any nginxWebUI deployment running 3.0.0 through 3.5.7 to 3.5.8 or later. The NVD references include a commit in the project's GitHub repository. Because exploitation has been seen since 2023, internet-facing instances that ran a vulnerable version should also be checked for signs of compromise.
Sources
- NVD, CVE-2023-54419
- CVE.org; CVE-2023-54419
- VulnCheck Advisory; nginxWebUI 3.0.0 before 3.5.8 Authentication Bypass RCE via runCmd
- VulnCheck Advisory (alternate URL)
- nginxWebUI GitHub commit 6b8c9bc
- ProjectDiscovery Nuclei template; nginxwebui-runcmd-rce
- qingchenhh qc_poc; Goby nginxWebUI runCmd RCE
- CTFIOT write-up