-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.0112
         Multiple vulnerabilities have been identified in General
                Motors and Shanghai OnStar (SOS) iOS Client
                              10 January 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           General Motors and Shanghai OnStar (SOS) iOS Client
Publisher:         ICS-CERT
Operating System:  Apple iOS
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Access Confidential Data        -- Remote with User Interaction
                   Unauthorised Access             -- Existing Account            
Resolution:        Mitigation
CVE Names:         CVE-2017-12697 CVE-2017-12695 CVE-2017-9663

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-17-234-04

- --------------------------BEGIN INCLUDED TEXT--------------------

Advisory (ICSA-17-234-04)

General Motors and Shanghai OnStar (SOS) iOS Client

Original release date: January 09, 2018

Share

Legal Notice

All information products included in http://ics-cert.us-cert.gov 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 http://www.us-cert.gov/tlp/.

CVSS v3 9.8

ATTENTION: Remotely exploitable/low skill level to exploit.

Vendor: General Motors (GM), Shanghai OnStar (SOS)

Equipment: SOS iOS Client

Vulnerabilities: Cleartext Storage of Sensitive Information, 
Man-in-the-Middle, Improper Authentication

REPOSTED INFORMATION

This advisory was originally posted to the NCCIC Portal on August 22, 2017, 
and is being released to the ICS-CERT web site.

AFFECTED PRODUCTS

The following version of Shanghai OnStar iOS Client, a vehicle management 
mobile application, is affected:

Shanghai OnStar iOS Client Version 7.1

IMPACT

Successful exploitation of these vulnerabilities could allow an attacker to 
remotely gain full access to the Shanghai OnStar iOS client, allowing for the
control of remote vehicle commands and the ability to view and edit account 
data.

MITIGATION

GM recommends the following mitigations:

Users should not root or jailbreak their phones to prevent the preconditions 
for attacker access to mobile phone memory, including the ability to read JSON
web token encryption keys.

GM HTTP Public Key Pinning rollout is complete to mitigate Man-In-The-Middle 
attacks for SOS iOS Client Version 7.1. The rollout includes back office and 
iOS client changes (now version 7.2). For North America iOS OnStar clients, 
HTTP Public KeyPinning deployment (back office and mobile app) is scheduled 
for December 2017.

Debugging code was removed from SOS Identity Management servers to prevent 
attacker access to user accounts.

ICS-CERT recommends that users take defensive measures to minimize the risk of
exploitation of these vulnerabilities. Specifically, users should:

Minimize network exposure for all control system devices and/or systems, and 
ensure that they are not accessible from the Internet.

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.

ICS-CERT reminds organizations to perform proper impact analysis and risk 
assessment prior to deploying defensive measures.

ICS-CERT also provides a section for control systems security 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.

Additional mitigation guidance and recommended practices are publicly 
available in the ICS-CERT Technical Information Paper, 
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation 
Strategies, that is available for download from the ICS-CERT web site.

Organizations observing any suspected malicious activity should follow their 
established internal procedures and report their findings to ICS-CERT for 
tracking and correlation against other incidents.

No known public exploits specifically target this vulnerability.

VULNERABILITY OVERVIEW

CLEARTEXT STORAGE OF SENSITIVE INFORMATION CWE-312

Successful exploitation of this vulnerability may allow a remote attacker to 
access an encryption key that is stored in cleartext in memory.

CVE-2017-9663 has been assigned to this vulnerability. A CVSS v3 base score of
9.8 has been assigned; the CVSS vector string is 
(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

CHANNEL ACCESSIBLE BY NON-ENDPOINT (MAN-IN-THE-MIDDLE) CWE-300

Successful exploitation of this vulnerability may allow an attacker to 
intercept sensitive information when the client connects to the server.

CVE-2017-12697 has been assigned to this vulnerability. A CVSS v3 base score 
of 8.8 has been assigned; the CVSS vector string is 
(AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

IMPROPER AUTHENTICATION CWE-287

Successful exploitation of this vulnerability may allow an attacker to subvert
security mechanisms and reset a user account password.

CVE-2017-12695 has been assigned to this vulnerability. A CVSS v3 base score 
of 8.8 has been assigned; the CVSS vector string is 
(AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

RESEARCHER

Charles Gans reported these vulnerabilities to ICS-CERT.

BACKGROUND

Critical Infrastructure Sector: Transportation Systems

Countries/Areas Deployed: United States, Asia

Company Headquarters Location: United States

Contact Information

For any questions related to this report, please contact the NCCIC at:

Email: NCCICCUSTOMERSERVICE@hq.dhs.gov (link sends e-mail)

Toll Free: 1-888-282-0870

For industrial control systems cybersecurity information: 
http://ics-cert.us-cert.gov

or incident reporting: https://ics-cert.us-cert.gov/Report-Incident?

The NCCIC continuously strives to improve its products and services. You can 
help by choosing one of the links below to provide feedback about this 
product.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWlWfwYx+lLeg9Ub1AQg9DQ/7BoiYf/wbyIw4AiGFEACBMQAwygapCODH
/ic7TR8ayguZwCO03Qz7HC6jyq5BftibaFZLWC1I91PFP3VfuSVeC7r/M5Soxq6O
nyw0jeGepiBCXfSyq6HfoiLtySpYtXGPRAmyyLuoirhJBx53gDdcjQb9hqLZp8y5
G4/YUvRYsquNDPHBIK39gxWAtdZhmkGLN3Rgvey7lwfk+H8F1IulnDAqUnz8TFS1
50UYCJCjovR5ojj2xflh3bzi7bAxzd4FYDnYIctmZFPm8evhnJKq9TcDOP2gPz38
z8zlxZoeHfvva6RHA/e3OmRvaQgdFnu9Wr5YjZFMyF4Gnsdvt+gMy/KJvzESIaB2
WP1WDCNKJYbLWi0OqPJV2hprFvQSuWAzjJeuMoN3++qERGneGaAktJPFH5fSPMII
kbU+TR4c2tGhZTMhK9cubruVouA3FN2AAK+XH0+fDkjYQ/1KToX9wk+BB50TE8Xl
mOC8JwilUjeeN/Wd2SPDVS3kJPz0yJnmcRAX+7u3CMmweI+3dY4Mv6Np95gZPCTP
bgDU2TfDgy0V9QnzuvkYtLsaHEKKAbEDGMIKbYfcYUt0bPeZyH8eraW6SuJCcLJB
wg4TCvnCD+Le0m8ype9zmuEfYSlFxUd5TBjl5kTRHZGXNG2eDvgyb1c8RmF4+kVU
cksOKd9VOwk=
=1QWT
-----END PGP SIGNATURE-----