Executive Summary

Summary
Title IEEE P1735 implementations may have weak cryptographic protections
Informations
Name VU#739007 First vendor Publication 2017-11-03
Vendor VU-CERT Last vendor Modification 2017-11-09
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.6 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#739007

IEEE P1735 implementations may have weak cryptographic protections

Original Release date: 03 Nov 2017 | Last revised: 09 Nov 2017

Overview

The P1735 IEEE standard describes methods for encrypting electronic-design intellectual property (IP), as well as the management of access rights for such IP. The methods are flawed and, in the most egregious cases, enable attack vectors that allow recovery of the entire underlying plaintext IP. Implementations of IEEE P1735 may be weak to cryptographic attacks that allow an attacker to obtain plaintext intellectual property without the key, among other impacts.

Description

CWE-310: Cryptographic Issues

The P1735 IEEE standard describes methods for encrypting electronic-design intellectual property (IP), as well as the management of access rights for such IP. The methods are flawed and, in the most egregious cases, enable attack vectors that allow recovery of the entire underlying plaintext IP. Some of these attack vectors are well-known, such as padding-oracle attacks. Others are new, and are made possible by the need to support the typical uses of the underlying IP. In particular, the need for commercial electronic design automation (EDA) tools to synthesize multiple pieces of IP into a fully specified chip design and to provide HDL syntax errors. These flaws can be exploited by leveraging the commercial EDA tool as a black-box oracle. In addition to being able to recover entire plaintext IP, one can produce standard-compliant ciphertexts of IP that have been modified to include targeted hardware Trojans.

Design of complex electronics design intellectual property (IP) involves multiple IP owners. To prevent rogue entities in the design flow from stealing their IPs, they use the P1735 IEEE standard to provide confidentiality and access control. The standard not only recommends poor cryptographic choices, it is vague/silent on security critical decisions.

The following CVE IDs were assigned to document weaknesses in the P1735 standard as described in the researcher's paper.

  • CVE-2017-13091: improperly specified padding in CBC mode allows use of an EDA tool as a decryption oracle.
  • CVE-2017-13092: improperly specified HDL syntax allows use of an EDA tool as a decryption oracle
  • CVE-2017-13093: modification of encrypted IP cyphertext to insert hardware trojans.
  • CVE-2017-13094: modification of the encryption key and insertion of hardware trojans in any IP.
  • CVE-2017-13095: modification of a license-deny response to a license grant.

The following weaknesses in the P1735 standard were also identified and assigned CVE IDs:
  • CVE-2017-13096: modification of Rights Block to remove or relax access control.
  • CVE-2017-13097: modification of Rights Block to remove or relax license requirement.

While CVE-2017-13096 and CVE-2017-13097 are not explicitly discussed in the research paper, section 4.2 of the paper describes a similar attack method and mitigation. The Rights Block of the digital envelope contains the Key Block (encryption of AES key under RSA public key of the EDA tool provider) as well as access control and license requirements. An attacker with information about the IP may be able to select a new AES key and spoof a new Rights Block for an EDA tool that modifies or removes the original access control or licensing requirements specified by the original IP owner.

All CVE IDs above may extend to EDA tools that utilize the P1735 standard, or products designed with such EDA tools.

Impact

An adversary can recover electronic design IPs encrypted using the P1735 workflow, resulting in IP theft and/or analysis of security critical features, as well as the ability to insert hardware trojans into an encrypted IP without the knowledge of the IP owner. Impacts may include loss of profit and reputation of the IP owners as well as integrated circuits (ICs) with trojans that contain backdoors, perform poorly, or even fail completely. See the researcher's paper for full impact details.

Solution

Apply an update

Developers of EDA software can apply suggested fixes from the researcher's paper.

Users may apply a vendor update to their EDA software, as it becomes available. More vendor information is available below.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
AMDUnknown03 Nov 201703 Nov 2017
Cadence Design SystemsUnknown29 Sep 201729 Sep 2017
CiscoUnknown03 Nov 201703 Nov 2017
IBM, INC.Unknown03 Nov 201703 Nov 2017
Intel CorporationUnknown03 Nov 201703 Nov 2017
Marvell SemiconductorsUnknown03 Nov 201703 Nov 2017
Mentor GraphicsUnknown29 Sep 201729 Sep 2017
National Instruments (NI)Unknown03 Nov 201703 Nov 2017
National Semiconductor CorporationUnknown03 Nov 201703 Nov 2017
NXP Semiconductors Inc.Unknown03 Nov 201703 Nov 2017
QUALCOMM IncorporatedUnknown03 Nov 201703 Nov 2017
Samsung Semiconductor Inc.Unknown03 Nov 201703 Nov 2017
SynopsysUnknown29 Sep 201729 Sep 2017
XilinxUnknown29 Sep 201729 Sep 2017
Zuken Inc.Unknown29 Sep 201729 Sep 2017
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base6.3AV:L/AC:M/Au:N/C:C/I:C/A:N
Temporal5.7E:POC/RL:ND/RC:C
Environmental6.2CDP:ND/TD:ND/CR:H/IR:H/AR:ND

References

  • https://eprint.iacr.org/2017/828.pdf
  • http://ieeexplore.ieee.org/document/7274481/

Credit

Thanks to Domenic Forte and Animesh Chhotaray for reporting this vulnerability and contributing to this document.

This document was written by Garret Wassermann.

Other Information

  • CVE IDs:CVE-2017-13091CVE-2017-13092CVE-2017-13093CVE-2017-13094CVE-2017-13095CVE-2017-13096CVE-2017-13097
  • Date Public:01 Nov 2017
  • Date First Published:03 Nov 2017
  • Date Last Updated:09 Nov 2017
  • Document Revision:62

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/739007

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-310 Cryptographic Issues

CPE : Common Platform Enumeration

TypeDescriptionCount
Os 1

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
Date Informations
2018-09-19 21:22:01
  • Multiple Updates
2018-07-14 00:21:04
  • Multiple Updates
2017-11-09 21:20:27
  • Multiple Updates
2017-11-06 17:22:20
  • Multiple Updates
2017-11-03 21:22:59
  • First insertion