Apple macOS up to 10.12.2 Vim input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.9$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Apple macOS up to 10.12.2. Affected by this vulnerability is an unknown functionality of the component Vim. This manipulation causes input validation. This vulnerability appears as CVE-2016-1248. The attack may be initiated remotely. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Apple macOS up to 10.12.2 (Operating System) and classified as critical. Affected by this vulnerability is an unknown code of the component Vim. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

vim before patch 8.0.0056 does not properly validate values for the filetype , syntax and keymap options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.

The bug was discovered 11/22/2016. The weakness was presented 01/23/2017 as HT207483 as confirmed advisory (Website). The advisory is shared at support.apple.com. This vulnerability is known as CVE-2016-1248 since 12/27/2015. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are publicly available. The advisory points out:

An input validation issue existed in modelines. This was addressed through improved input validation.

The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 95551 (openSUSE Security Update : vim (openSUSE-2016-1391)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370282 (Apple macOS Sierra Security Update 10.12.3 Not Installed (APPLE-SA-2017-01-23-2)).

Upgrading to version 10.12.3 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (95551) and SecurityFocus (BID 94478†). See VDB-93756, VDB-95903, VDB-95902 and VDB-95914 for similar entries. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.9

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 95551
Nessus Name: openSUSE Security Update : vim (openSUSE-2016-1391)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 60384
OpenVAS Name: SuSE Update for vim openSUSE-SU-2016:2992-1 (vim)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: macOS 10.12.3
Patch: github.com

Timelineinfo

12/27/2015 🔍
11/22/2016 +331 days 🔍
11/22/2016 +0 days 🔍
11/23/2016 +1 days 🔍
12/06/2016 +13 days 🔍
01/23/2017 +48 days 🔍
01/23/2017 +0 days 🔍
01/25/2017 +2 days 🔍
11/03/2022 +2108 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: HT207483
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-1248 (🔍)
GCVE (CVE): GCVE-0-2016-1248
GCVE (VulDB): GCVE-100-95953

OVAL: 🔍

SecurityFocus: 94478 - Neovim CVE-2016-1248 Command Execution Vulnerability
OSVDB: - CVE-2016-1248 - vim - Code Execution Issue
SecurityTracker: 1037338

scip Labs: https://www.scip.ch/en/?labs.20180712
See also: 🔍

Entryinfo

Created: 01/25/2017 11:44
Updated: 11/03/2022 17:22
Changes: 01/25/2017 11:44 (82), 07/31/2020 12:30 (6), 11/03/2022 17:22 (5)
Complete: 🔍
Cache ID: 216:F92:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!