# ICS Advisory (ICSA-18-310-01)
## gpsd Open Source Project
Original release date: February 14, 2019
[Print Document](javascript:window.print\(\);)
[Tweet](https://twitter.com/share?url=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2FICSA-18-310-01)
[Like Me](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2FICSA-18-310-01)
[Share](http://www.addthis.com/bookmark.php?url=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2FICSA-18-310-01)
### Legal Notice
All information products included in [https://us-cert.gov/ics](/ics) are
provided "as is" for informational purposes only. The Department of Homeland
Security (DHS) does not provide any warranties of any kind regarding any
information contained within. DHS does not endorse any commercial product or
service, referenced in this product or otherwise. Further dissemination of
this product is governed by the Traffic Light Protocol (TLP) marking in the
header. For more information about TLP, see [https://www.us-
cert.gov/tlp/](/tlp/).
* * *
## 1\. EXECUTIVE SUMMARY
* **CVSS v3 8.3**
* **Vendor:** gpsd Open Source Project
* **Equipment:** gpsd, microjson
* **Vulnerability:** Stack-based Buffer Overflow
## 2\. REPOSTED INFORMATION
This advisory was originally posted to the HSIN ICS-CERT library on November
6, 2018, and is being released to the NCCIC/ICS-CERT website.
## 3\. RISK EVALUATION
Successful exploitation of this vulnerability could allow remote code
execution, data exfiltration, or denial-of service via device crash.
## 4\. TECHNICAL DETAILS
### 4.1 AFFECTED PRODUCTS
The following versions of gpsd and microjson, an open-source GPS framework,
are affected:
* gpsd, Versions 2.90 to 3.17
* microjson Versions 1.0 to 1.3
As reported on the gpsd website, gpsd can be found in many mobile embedded
systems such as Android phones, drones, robot submarines, driverless cars,
manned aircraft, marine navigation systems, and military vehicles.
Google has been contacted regarding this vulnerability. They have examined it
and believe the vulnerability does not apply to Android.
### 4.2 VULNERABILITY OVERVIEW
### 4.2.1 [STACK-BASED BUFFER OVERFLOW
CWE-121](https://cwe.mitre.org/data/definitions/121.html)
A stack-based buffer overflow may allow remote attackers to execute arbitrary
code on embedded platforms via traffic on Port 2947/TCP or crafted JSON
inputs.
[CVE-2018-17937](http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-17937)
has been assigned to this vulnerability. A CVSS v3 base score of 8.3 has been
calculated; the CVSS vector string is
[(AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H)](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).
### 4.3 BACKGROUND
* **CRITICAL INFRASTRUCTURE SECTORS:** Communications, Defense Industrial Base, Emergency Services, Transportation Systems, and other sectors
* **COUNTRIES/AREAS DEPLOYED:** Worldwide
* **COMPANY HEADQUARTERS LOCATION:** Open-source Project
### 4.4 RESEARCHER
GE Digital Cyber Security Services, working with GE-PSIRT, reported the
vulnerability to NCCIC.
## 5\. MITIGATIONS
Platforms which implement stack protector and local variable re-ordering
reduce the impact of this vulnerability to availability only.
gpsd/microjson project maintainers recommend upgrading to gpsd Version 3.18 or
newer and microjson 1.4 or newer to resolve this vulnerability.
<http://download-mirror.savannah.gnu.org/releases/gpsd/>
<http://www.catb.org/esr/microjson/>
For more information visit the gpsd website:
<http://www.catb.org/gpsd/>
NCCIC recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability. Specifically, users should:
* Minimize network exposure for all control system devices and/or systems, and ensure that they are [not accessible from the Internet](/ics/alerts/ICS-ALERT-10-301-01).
* Locate control system networks and remote devices behind firewalls, and isolate them from the business network.
* When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize that VPN is only as secure as the connected devices.
NCCIC reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.
NCCIC also provides a section for [control systems security recommended
practices](/ics/content/recommended-practices) on the ICS-CERT web page.
Several recommended practices are available for reading and download,
including [Improving Industrial Control Systems Cybersecurity with Defense-in-
Depth Strategies](/sites/default/files/recommended_practices/NCCIC_ICS-
CERT_Defense_in_Depth_2016_S508C.pdf).
Additional mitigation guidance and recommended practices are publicly
available on the [ICS-CERT website](/ics/) in the Technical Information Paper,
[ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies](/ics/tips/ICS-TIP-12-146-01B).
Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to NCCIC for
tracking and correlation against other incidents.
No known public exploits specifically target this vulnerability. This
vulnerability is exploitable from an adjacent network. High skill level is
needed to exploit.
暂无评论