**ATTENTION:**Remotely exploitable/low skill level to exploit.
Vendor: NXP Semiconductors
Equipment: MQX RTOS
**Vulnerabilities:**Classic Buffer Overflow, Out-of-Bounds Read
The following versions of MQX Real-Time Operating System (RTOS) are used in NXPβs ColdFire microcontrollers, Kinetis microcontrollers, i.MX processors, and Vybrid processors, which are affected by the vulnerabilities listed below.
Versions susceptible to Classic Buffer Overflow Vulnerability:
Versions susceptible to Out-of-Bounds Read Vulnerability:
Successful exploitation of these vulnerabilities may allow a remote attacker to cause a buffer overflow condition that may, in turn, cause remote code execution or out-of-bounds read conditions, resulting in a denial of service.
NXP is planning to release a product fix for MQX, Version 5.1, by January 2018, which will address both vulnerabilities. Until the product fix can be applied, NXP recommends that users consider implementing the following interim mitigations to limit the risk of exploitation of the identified vulnerabilities:
NCCIC/ICS-CERT recommends that users take defensive measures to minimize the risk of exploitation of these vulnerabilities. Specifically, users should:
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 these vulnerabilities.
The Real-Time TCP/IP Communications Suite (RTCS) in MQXβs DHCP client fails to sanitize all inputs, which may allow maliciously crafted DHCP packets to cause memory to be overwritten, allowing remote code execution.
CVE-2017-12718 has been assigned to this vulnerability. A CVSS v3 base score of 8.1 has been assigned; the CVSS vector string is (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
The DNS client for MQX fails to bounds check DNS response parameters, which may allow maliciously crafted DNS packets to cause memory to be read out-of-bounds, resulting in a denial of service.
CVE-2017-12722 has been assigned to this vulnerability. A CVSS v3 base score of 5.3 has been assigned; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
Scott Gayou identified and coordinated these vulnerabilities with NXP, CERT/CC, and ICS-CERT.
Critical Infrastructure Sectors: Communications, Critical Manufacturing, Healthcare and Public Health, and Transportation
Countries/Areas Deployed: Worldwide
Company Headquarters Location: Eindhoven, Netherlands
ics-cert.us-cert.gov
ics-cert.us-cert.gov
twitter.com/icscert
twitter.com/icscert
web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-12718
web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-12722
www.addthis.com/bookmark.php?url=https%3A%2F%2Fics-cert.us-cert.gov%2Fadvisories%2FICSA-17-285-04
www.dhs.gov
www.dhs.gov/report-cyber-risks
www.us-cert.gov/accessibility/
www.us-cert.gov/pdf/
www.us-cert.gov/privacy/
www.us-cert.gov/tlp/
www.us-cert.gov/tlp/
cwe.mitre.org/data/definitions/120.html
cwe.mitre.org/data/definitions/125.html
ics-cert.us-cert.gov/
ics-cert.us-cert.gov/content/recommended-practices
ics-cert.us-cert.gov/Report-Incident?
ics-cert.us-cert.gov/sites/default/files/recommended_practices/NCCIC_ICS-CERT_Defense_in_Depth_2016_S508C.pdf
ics-cert.us-cert.gov/tips/ICS-TIP-12-146-01B
twitter.com/share?url=https%3A%2F%2Fics-cert.us-cert.gov%2Fadvisories%2FICSA-17-285-04
www.facebook.com/sharer.php?u=https%3A%2F%2Fics-cert.us-cert.gov%2Fadvisories%2FICSA-17-285-04
www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
www.us-cert.gov/forms/feedback?helpful=no&document=ICSA-17-285-04 NXP Semiconductors MQX RTOS&trackingNumber=&url=https://ics-cert.us-cert.gov/advisories/ICSA-17-285-04&site_name=ICS-CERT
www.us-cert.gov/forms/feedback?helpful=somewhat&document=ICSA-17-285-04 NXP Semiconductors MQX RTOS&trackingNumber=&url=https://ics-cert.us-cert.gov/advisories/ICSA-17-285-04&site_name=ICS-CERT
www.us-cert.gov/forms/feedback?helpful=yes&document=ICSA-17-285-04 NXP Semiconductors MQX RTOS&trackingNumber=&url=https://ics-cert.us-cert.gov/advisories/ICSA-17-285-04&site_name=ICS-CERT