Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Qualcomm Android OS kernel privilege escalation and denial of service vulnerabilites
Informations
Name VU#702452 First vendor Publication 2012-12-07
Vendor VU-CERT Last vendor Modification 2012-12-07
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#702452

Qualcomm Android OS kernel privilege escalation and denial of service vulnerabilites

Original Release date: 07 Dec 2012 | Last revised: 07 Dec 2012

Overview

Android OS kernels running on certain Qualcomm devices contain multiple vulnerabilities which could allow an attacker to cause privilege escalation or Denial of Service (DoS).

Description

The Qualcomm Innovation Center, Inc. advisory states:

Summary:
A locally installed application can cause privilege escalation or Denial of Service (DoS) by passing a specially crafted input to diagchar_ioctl call of Diagnostics (DIAG) kernel mode driver for Android. The involved CVE IDs are CVE-2012-4220 (untrusted pointer dereference), CVE-2012-4221 (integer overflow). A patch which can be applied to Gingerbread, Ice Cream Sandwich and Jelly Bean source is made available from the location below.

A locally installed application can cause DoS by passing a specially crafted input to kgsl_ioctl call of Graphics KGSL kernel mode driver for Android. The involved CVE ID is CVE-2012-4222 (null pointer dereference). A patch which can be applied to Gingerbread, Ice Cream Sandwich and Jelly Bean source is made available from the location below.

Affected version:
All Android releases from CAF prior to November 15, 2012 using Linux kernel from the following heads: msm-3.4, msm-3.0, jb_*, ics_*, gingerbread_*


Note: Permission changes in ICS and Jelly Bean that restrict /dev/diag access to qcom_diag group mitigate CVE-2012-4220 and CVE-2012-4221.

Impact

By convincing a user to install a specially crafted android application, a remote attacker may be able to cause a privilege escalation or Denial of Service (DoS) allowing them to gain control of the affected device.

Solution

Update

The vendor states that these vulnerabilities have been addressed in PATCH_17010_jweEF843feG. Users are advised to apply the patch to affected devices. Fix for CVE-2012-4220 and CVE-2012-4221 in msm-3.4 can be found here. Fix for CVE-2012-4222 in msm-3.4 can be found here.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
QUALCOMM IncorporatedAffected01 Nov 201230 Nov 2012
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base6.0AV:L/AC:H/Au:S/C:C/I:C/A:C
Temporal4.7E:POC/RL:OF/RC:C
Environmental5.2CDP:L/TD:H/CR:ND/IR:ND/AR:ND

References

  • https://www.codeaurora.org/participate/security-advisories/cve-2012-4220-cve-2012-4221-cve-2012-4222/
  • https://www.codeaurora.org/patches/quic/la/.PATCH_17010_jweEF843feG.tar.gz

Credit

Thanks to giantpune@gmail.com for reporting this vulnerability.

This document was written by Michael Orlando.

Other Information

  • CVE IDs:CVE-2012-4220CVE-2012-4221CVE-2012-4222
  • Date Public:15 Nov 2012
  • Date First Published:07 Dec 2012
  • Date Last Updated:07 Dec 2012
  • Document Revision:14

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/702452

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-189 Numeric Errors (CWE/SANS Top 25)
50 % CWE-20 Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Os 23

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2013-10-11 17:23:56
  • Multiple Updates
2013-01-11 21:24:38
  • Multiple Updates
2013-01-11 21:22:35
  • Multiple Updates
2012-12-07 17:18:19
  • First insertion