Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness - Nessus

Medium   Plugin ID: 72666

This page contains detailed information about the Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 72666
Name: Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness
Filename: apple_ios_616_check.nbin
Vulnerability Published: 2014-02-21
This Plugin Published: 2014-02-24
Last Modification Time: 2022-02-14
Plugin Version: 1.74
Plugin Type: local
Plugin Family: Mobile Devices
Dependencies: mdm_dependency_lock.nbin
Required KB Items [?]: mdm/dependency/unlocked

Vulnerability Information


Severity: Medium
Vulnerability Published: 2014-02-21
Patch Published: 2014-02-21
CVE [?]: CVE-2014-1266
CPE [?]: cpe:/o:apple:iphone_os

Synopsis

The version of iOS running on the mobile device is affected by a certificate validation weakness.

Description

The mobile device is running a version of iOS that is 6.x prior to version 6.1.6. It is, therefore, prone to an SSL certificate validation weakness. This error could allow an attacker to spoof a server and obtain sensitive information or modify secure content.

Solution

Upgrade to Apple iOS 6.1.6 or later.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Exploit-DB, GitHub)
Exploit Ease: Exploits (PoCs) are available

Here's the list of publicly known exploits and PoCs for verifying the Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness vulnerability:

  1. Exploit-DB: exploits/macos/local/46428.m
    [EDB-46428: Apple macOS 10.13.5 - Local Privilege Escalation]
  2. GitHub: https://github.com/gabrielg/CVE-2014-1266-poc
    [CVE-2014-1266: Apple OS X/iOS SSL flaw demonstration]
  3. GitHub: https://github.com/geeksniper/reverse-engineering-toolkit
    [CVE-2014-1266]
  4. GitHub: https://github.com/landonf/Testability-CVE-2014-1266
    [CVE-2014-1266: Demonstrating that SSLVerifySignedServerKeyExchange() is trivially testable.]
  5. GitHub: https://github.com/linusyang/SSLPatch
    [CVE-2014-1266: Patch iOS SSL vulnerability (CVE-2014-1266)]
  6. GitHub: https://github.com/offensive-security/exploitdb-bin-sploits/blob/master/bin-sploits/46428.zip
    [EDB-46428]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:P/I:P/A:N/E:U/RL:OF/RC:C
CVSS Base Score:5.8 (Medium)
Impact Subscore:4.9
Exploitability Subscore:8.6
CVSS Temporal Score:4.3 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:4.3 (Medium)

Go back to menu.

Plugin Source


The apple_ios_616_check.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2014-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/apple_ios_616_check.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\apple_ios_616_check.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/apple_ios_616_check.nbin

Go back to menu.

How to Run


Here is how to run the Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Mobile Devices plugin family.
  6. On the right side table select Apple iOS 6.x < 6.1.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness plugin ID 72666.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl apple_ios_616_check.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a apple_ios_616_check.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - apple_ios_616_check.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state apple_ios_616_check.nbin -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: APPLE-SA | Apple Security Advisory:
  • 2014-02-21-1
See also: Similar and related Nessus plugins:
  • 72667 - Apple iOS 7.x < 7.0.6 'SSLVerifySignedServerKeyExchange' Certificate Validation Weakness
  • 72687 - Mac OS X 10.9.x < 10.9.2 Multiple Vulnerabilities

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file apple_ios_616_check.nbin version 1.74. For more plugins, visit the Nessus Plugin Library.

Go back to menu.