Vulnerabilities > CVE-2014-1266 - Improper Certificate Validation vulnerability in Apple Iphone OS, mac OS X and Tvos
Attack vector
NETWORK Attack complexity
HIGH Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
NONE Summary
The SSLVerifySignedServerKeyExchange function in libsecurity_ssl/lib/sslKeyExchange.c in the Secure Transport feature in the Data Security component in Apple iOS 6.x before 6.1.6 and 7.x before 7.0.6, Apple TV 6.x before 6.0.2, and Apple OS X 10.9.x before 10.9.2 does not check the signature in a TLS Server Key Exchange message, which allows man-in-the-middle attackers to spoof SSL servers by (1) using an arbitrary private key for the signing step or (2) omitting the signing step.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Creating a Rogue Certificate Authority Certificate An attacker exploits a weakness in the MD5 hash algorithm (weak collision resistance) to generate a certificate signing request (CSR) that contains collision blocks in the "to be signed" part. The attacker specially crafts two different, but valid X.509 certificates that when hashed with the MD5 algorithm would yield the same value. The attacker then sends the CSR for one of the certificates to the Certification Authority which uses the MD5 hashing algorithm. That request is completely valid and the Certificate Authority issues an X.509 certificate to the attacker which is signed with its private key. An attacker then takes that signed blob and inserts it into another X.509 certificate that the attacker generated. Due to the MD5 collision, both certificates, though different, hash to the same value and so the signed blob works just as well in the second certificate. The net effect is that the attackers' second X.509 certificate, which the Certification Authority has never seen, is now signed and validated by that Certification Authority. To make the attack more interesting, the second certificate could be not just a regular certificate, but rather itself a signing certificate. Thus the attacker is able to start their own Certification Authority that is anchored in its root of trust in the legitimate Certification Authority that has signed the attackers' first X.509 certificate. If the original Certificate Authority was accepted by default by browsers, so will now the Certificate Authority set up by the attacker and of course any certificates that it signs. So the attacker is now able to generate any SSL certificates to impersonate any web server, and the user's browser will not issue any warning to the victim. This can be used to compromise HTTPS communications and other types of systems where PKI and X.509 certificates may be used (e.g., VPN, IPSec) .
Nessus
NASL family | MacOS X Local Security Checks |
NASL id | MACOSX_10_9_2.NASL |
description | The remote host is running a version of Mac OS X 10.9.x that is prior to 10.9.2. This update contains several security-related fixes for the following components : - Apache - ATS - Certificate Trust Policy - CoreAnimation - CoreText - curl - Data Security - Date and Time - File Bookmark - Finder - ImageIO - NVIDIA Drivers - PHP - QuickLook - QuickTime Note that successful exploitation of the most serious issues could result in arbitrary code execution. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 72687 |
published | 2014-02-25 |
reporter | This script is Copyright (C) 2014-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/72687 |
title | Mac OS X 10.9.x < 10.9.2 Multiple Vulnerabilities |
Seebug
bulletinFamily | exploit |
description | CVE ID:CVE-2014-1266 Apple iOS是一款运行在苹果iPhone和iPod touch设备上的最新的操作系统。Apple TV是苹果可以让PC和iPod中的相片,视频和音乐无线传输到电视之中高清晰度播出。Apple Mac OS X是一款苹果公司开发的操作系统。 Apple多个产品数据安全组件中安全传送特征中的SSLVerifySignedServerKeyExchange函数(libsecurity_ssl/lib/sslKeyExchange.c)存在安全漏洞,由于没有正确检查TLS Server Key Exchange消息中的签名,允许可进行中间人攻击的攻击者在签名步骤中使用任意私钥或忽略签名步骤来伪造SSL服务器。 0 Apple iOS 6.x Apple iOS 7.x Apple TV 6.x Apple OS X 10.9.x 厂商补丁: Apple ----- Apple iOS 6.1.6,7.0.6,Apple TV 6.0.2,Apple OS X 10.9.2已经修复该漏洞,建议用户下载更新: http://www.apple.com |
id | SSV:61548 |
last seen | 2017-11-19 |
modified | 2014-02-25 |
published | 2014-02-25 |
reporter | Root |
title | Apple多个产品SSL/TLS处理验证绕过漏洞 |
The Hacker News
id THN:C9250134E168AFF6783D028B7D38E6A7 last seen 2018-01-27 modified 2014-02-25 published 2014-02-25 reporter Swati Khandelwal source https://thehackernews.com/2014/02/apples-ssl-vulnerability-may-allowed.html title Apple's SSL Vulnerability might allow NSA to hack iOS Devices Remotely id THN:D84578BAE3569014C8885FD264361923 last seen 2018-01-27 modified 2014-02-22 published 2014-02-22 reporter Sudhir K Bansal source https://thehackernews.com/2014/02/apples-ios-vulnerable-to-man-in-middle.html title Apple's iOS vulnerable to Man-in-the-middle Attack, Install iOS 7.0.6 to Patch
References
- http://support.apple.com/kb/HT6148
- http://support.apple.com/kb/HT6146
- http://it.slashdot.org/comments.pl?sid=4821073&cid=46310187
- http://support.apple.com/kb/HT6147
- https://www.imperialviolet.org/2014/02/22/applebug.html
- https://news.ycombinator.com/item?id=7281378
- https://www.cs.columbia.edu/~smb/blog/2014-02/2014-02-24.html
- https://www.cs.columbia.edu/~smb/blog/2014-02/2014-02-23.html
- http://support.apple.com/kb/HT6150