Linux Kernel 3.12.5 Bounds-Check kvm/kvm_main.c kvm_vm_ioctl_create_vcpu vcpu_id 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.
4.2$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Linux Kernel 3.12.5. Affected by this issue is the function kvm_vm_ioctl_create_vcpu of the file kvm/kvm_main.c of the component Bounds-Check Handler. The manipulation of the argument vcpu_id leads to input validation. This vulnerability is uniquely identified as CVE-2013-4587. No exploit exists. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability was found in Linux Kernel 3.12.5 (Operating System) and classified as critical. This issue affects the function kvm_vm_ioctl_create_vcpu of the file kvm/kvm_main.c of the component Bounds-Check Handler. The manipulation of the argument vcpu_id with an unknown input leads to a input validation vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, and integrity. The summary by CVE is:

Array index error in the kvm_vm_ioctl_create_vcpu function in virt/kvm/kvm_main.c in the KVM subsystem in the Linux kernel through 3.12.5 allows local users to gain privileges via a large id value.

The weakness was disclosed 12/12/2013 by Andrew Honig as CVE-2013-4587 as not defined alert (NVD). It is possible to read the advisory at web.nvd.nist.gov. The identification of this vulnerability is CVE-2013-4587 since 06/12/2013. Attacking locally is a requirement. Required for exploitation is a simple authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 71593 (Fedora 20 : kernel-3.12.5-302.fc20 (2013-23445)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195763 (Ubuntu Security Notification for Linux Vulnerabilities (USN-2109-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (71593), SecurityFocus (BID 63889†), OSVDB (100984†) and Vulnerability Center (SBV-42593†). The entries VDB-11302, VDB-11510, VDB-11756 and VDB-11757 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.2

VulDB Base Score: 4.4
VulDB Temp Score: 4.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

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: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71593
Nessus Name: Fedora 20 : kernel-3.12.5-302.fc20 (2013-23445)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 867183
OpenVAS Name: Fedora Update for kernel FEDORA-2013-23653
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: github.com

Timelineinfo

06/12/2013 🔍
12/12/2013 +183 days 🔍
12/12/2013 +0 days 🔍
12/14/2013 +2 days 🔍
12/14/2013 +0 days 🔍
12/16/2013 +2 days 🔍
12/17/2013 +1 days 🔍
12/23/2013 +6 days 🔍
06/04/2021 +2720 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: CVE-2013-4587
Researcher: Andrew Honig
Status: Not defined
Confirmation: 🔍

CVE: CVE-2013-4587 (🔍)
GCVE (CVE): GCVE-0-2013-4587
GCVE (VulDB): GCVE-100-11507

OVAL: 🔍

SecurityFocus: 63889
OSVDB: 100984
Vulnerability Center: 42593 - Linux Kernel 3 Through 3.12.5 Local Privilege Escalation due to an Error in virt/kvm/kvm_main.c in the KVM Subsystem, High

See also: 🔍

Entryinfo

Created: 12/16/2013 11:08
Updated: 06/04/2021 11:04
Changes: 12/16/2013 11:08 (79), 05/17/2017 09:14 (2), 06/04/2021 11:04 (3)
Complete: 🔍
Committer: olku
Cache ID: 216:E62:103

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!