Intel® SGX SDK Edger8r and Intel® Software Guard Extensions Platform Software Component

Intel ID:  INTEL-SA-00117
Product family:  Intel® SGX
Impact of vulnerability Elevation of Privilege
Severity rating Important
Original release:  Mar 20, 2018
Last revised:  Mar 19, 2018
Summary: 

CVE-2018-3626: The Edger8r tool in the Intel® Software Guard Extensions (SGX) Software Development Kit (SDK) before version 2.1.2 (Linux) and 1.9.6 (Windows) may generate code that is susceptible to a side channel attack, potentially allowing a local user to access unauthorized information.

CVE-2017-5736:  An elevation of privilege in Intel® Software Guard Extensions Platform Software Component before 1.9.105.42329 allows a local attacker to execute arbitrary code as administrator.

Description: 

CVE-2018-3626: Recently it was reported that the Edger8r Tool, a software component of the Intel® Software Guard Extensions (SGX) Software Development Kit (SDK), may generate C source code potentially leading to a software based side-channel vulnerability.

 

Exposure of the vulnerability is limited to enclaves produced by developers who use the ‘string’ attribute or the ‘sizefunc’ attribute in the Edger8r Enclave Definition Language (EDL) syntax.  When these attributes are used, and the resultant code is compiled into an SGX enclave, then that enclave may be exposed to a side-channel which could reveal sensitive data within the enclave. The actions outlined in this document should be followed to help minimize potential impacts.

The issue has the following Computer Vulnerability Scoring System (CVSS) rating

  • 4.0 Medium CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVE-2017-5736: An elevation of privilege in Intel® Software Guard Extensions Platform Software Component before 1.9.105.42329 allows a local attacker to execute arbitrary code as administrator.

  • 8.2 High CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected products: 

CVE-2018-3626: Products developed with Intel® SGX SDK before version 2.1.2 (Linux) and 1.9.6 (Windows)

CVE-2017-5736: Intel® Software Guard Extensions Platform Software Component before 1.9.105.42329

Recommendations: 

CVE-2018-3626: Intel recommends that SGX developers, ISVs, and other affected parties review the information below, and undertake the related actions necessary to enhance their platform security.

If attestation is used

One way to ensure that SGX platforms are up to date is through the process of attestation. The attestation process verifies that the platform is a valid SGX platform and the platform components meet a defined set of security requirements. In addition, the attestation process enables the application provider to verify the security version of the application.

CVE-2017-5736: Intel highly recommends that developers and users update to Intel® Software Guard Extensions Platform Software Component version 1.9.105.42329 or later.

For Windows 10 users run Windows update and version 1.9.105.42329 will be updated.

For developers an updated client has been posted here: https://software.intel.com/en-us/sgx-sdk/download

Acknowledgements: 

Intel would like to thank Jo Van Bulck, Frank Piessens, and Raoul Strackx of Ku Leuven University for reporting CVE-2018-3626 and working with us on coordinated disclosure.

CVE-2017-5736 was found via Internal Validation.

Revision history: 

Revision
Date
Description
1.0
19-March-2018
Initial Release
1.1
20-March-2018
Fix CVE Number

CVE Name:  CVE-2018-5736

Disclaimer:

INFORMATION IN THIS DOCUMENT IS PROVIDED “AS IS” IN CONNECTION WITH INTEL® PRODUCTS. YOUR USE OF THE INFORMATION IN THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. INTEL RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME. EXCEPT AS PROVIDED IN INTEL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT.



Reporting a security issue

If you have information about a security issue or vulnerability with an Intel product, please send an e-mail to secure@intel.com. Encrypt sensitive information using our PGP public key.

For issues related to Intel managed open source projects, please visit http://www.01.org/security.

Please provide as much information as possible, including:

  • The products and versions affected
  • Detailed description of the vulnerability
  • Information on known exploits

  • A member of the Intel Product Security Team will review your e-mail and contact you to collaborate on resolving the issue. For more information on how Intel works to resolve security issues, see:

  • Vulnerability handling guidelines

  • Need product support?
    The secure@intel.com e-mail address should only be used for reporting security issues.

    If you...
  • Have questions about the security features of an Intel product
  • Require technical support
  • Want product updates or patches

  • Please visit Support & Downloads.