CVE-2023-54419
nginxWebUI 3.0.0 before 3.5.8 contains an authentication bypass vulnerability that allows unauthenticated attackers to reach the /AdminPage/conf/runCmd endpoin…
Impact
nginxWebUI 3.0.0 before 3.5.8 contains an authentication bypass vulnerability that allows unauthenticated attackers to reach the /AdminPage/conf/runCmd endpoint by using a case-variant path that evades the case-sensitive /adminPage/ login filter. Attackers can pass OS commands through the cmd parameter, which are executed via /bin/sh with insufficient filtering of & and $() characters, achieving remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Cym1102
| Product | Affected versions |
|---|---|
| nginxWebUI | from 3.0.0 before 3.5.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.ctfiot.com/124166.html
- https://github.com/qingchenhh/qc_poc/blob/main/Goby/nginxWebUI_runCmd_rce.go
- https://github.com/cym1102/nginxWebUI/commit/6b8c9bceb0d210632a35cd324db6b43caf442a23
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/nginxwebui-runcmd-rce.yaml
- https://www.vulncheck.com/advisories/nginxwebui-3.0.0-before-3.5.8-authentication-bypass-rce-via-runcmd
- https://www.vulncheck.com/advisories/nginxwebui-3.0.0-3.5.8-authentication-bypass-rce-via-runcmd
- https://github.com/advisories/GHSA-m5x6-fgfq-47j7
- https://nvd.nist.gov/vuln/detail/CVE-2023-54419