Lucene search
K

Android Mitigation Bypass Vulnerability

🗓️ 02 Dec 2016 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 37 Views

Android IOMX mitigation bypass vulnerability CVE-2016-671

Related
Code
ReporterTitlePublishedViews
Family
Android Security Bulletins
Android Security Bulletin—November 2016Stay organized with collectionsSave and categorize content based on your preferences.
7 Nov 201600:00
androidsecurity
CNVD
Google Android Mediaserver elevation of privilege vulnerability (CNVD-2016-11145)
10 Nov 201600:00
cnvd
CVE
CVE-2016-6717
25 Nov 201616:00
cve
Cvelist
CVE-2016-6717
25 Nov 201616:00
cvelist
EUVD
EUVD-2016-7620
7 Oct 202500:30
euvd
NVD
CVE-2016-6717
25 Nov 201616:59
nvd
OSV
CVE-2016-6717
25 Nov 201616:59
osv
OSV
UBUNTU-CVE-2016-6717
25 Nov 201616:59
osv
Prion
Privilege escalation
25 Nov 201616:59
prion
UbuntuCve
CVE-2016-6717
25 Nov 201616:59
ubuntucve
Rows per page
Android: mitigation bypass - the guard page creation in IOMX can fail 

CVE-2016-6717


Because of a design bug in IOMX, the user-supplied sizes in the GET_PARAMETER and SET_PARAMETER calls are discarded before calling in to the responsible OMX code-paths (see OMXNodeInstance.{get,set}Parameter). 

This has led to a variety of overflow-type bugs, including <a href="https://code.google.com/p/android/issues/detail?id=200821" title="" class="" rel="nofollow">https://code.google.com/p/android/issues/detail?id=200821</a>.

In order to mitigate these overflows, the buffers allocated for the user are extended by a single page, and that page is made inaccessible by calling:

 mprotect((char*)params + allocSize - pageSize, pageSize, PROT_NONE);

(see <a href="http://androidxref.com/7.0.0_r1/xref/frameworks/av/media/libmedia/IOMX.cpp#778" title="" class="" rel="nofollow">http://androidxref.com/7.0.0_r1/xref/frameworks/av/media/libmedia/IOMX.cpp#778</a>)

However, the return value of mprotect here is not checked and the mprotect request may fail in extreme cases (for example, if the kernel is running low on memory).

If an attacker manages to cause this condition to occur, the trailing page will remain RW, which could re-introduce the old GET_PARAMETER/SET_PARAMETER bugs (allowing the attacker to overflow into potentially sensitive data).

This bug is subject to a 90 day disclosure deadline. If 90 days elapse
without a broadly available patch, then the bug report will automatically
become visible to the public.

#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Dec 2016 00:00Current
7High risk
Vulners AI Score7
EPSS0.00049
37