What is QuadRooter? Are 900 million Android devices vulnerable?


Question

What actually is QuadRooter and how does it work on Android devices?



It is currently in the news that 900 millions Android devices are vulnerable:




Serious security flaws that could give attackers complete access to a phone's data have been found in software used on tens of millions of Android devices.



The bugs were uncovered by Checkpoint researchers looking at software running on chipsets made by US firm Qualcomm.



Qualcomm processors are found in about 900 million Android phones, the company said.




The article also said that it is something at the chipset level.



Is this true?



And how does this work internally?


Answer


What is QuadRooter?




Quadrooter is a name for a set of security vulnerabilities including





These are weaknesses in Linux/Android system software provided by chipset manufacturer Qualcomm.



They could be exploited by an app that you download, even one that does not ask for any special privileges. Such an app could exploit these vulnerabilities to gain higher level control of your phone, including access to any private data you have stored on it.






The US National Vulnerability Database gives the following description for the vulnerabilities listed above



2059




The msm_ipc_router_bind_control_port function in net/ipc_router/ipc_router_core.c in the IPC router kernel module for the Linux kernel 3.x, as used in Qualcomm Innovation Center (QuIC) Android contributions for MSM devices and other products, does not verify that a port is a client port, which allows attackers to gain privileges or cause a denial of service (race condition and list corruption) by making many BIND_CONTROL_PORT ioctl calls.




2504




The Qualcomm GPU driver in Android before 2016-08-05 on Nexus 5, 5X, 6, 6P, and 7 (2013) devices allows attackers to gain privileges via a crafted application, aka Android internal bug 28026365 and Qualcomm internal bug CR1002974.




2503




The Qualcomm GPU driver in Android before 2016-07-05 on Nexus 5X and 6P devices allows attackers to gain privileges via a crafted application, aka Android internal bug 28084795 and Qualcomm internal bug CR1006067.




5340




The is_ashmem_file function in drivers/staging/android/ashmem.c in a certain Qualcomm Innovation Center (QuIC) Android patch for the Linux kernel 3.x mishandles pointer validation within the KGSL Linux Graphics Module, which allows attackers to bypass intended access restrictions by using the /ashmem string as the dentry name.







You can download an app named "Quadrooter Scanner" from the Google Play store - it will tell you if your phone is vulnerable. The app was written by Checkpoint Software Technologies Ltd. I have installed it, ran it and uninstalled it. Other than that, I cannot say if it is reliable in any way.



Qualcomm have issued software fixes to manufacturers



Google have addressed a couple of these in their security bulletins for July and August



Issue

CVE

Severity
 Affects 
Nexus?
Elevation of privilege vulnerability in CVE-2016-2503, Critical Yes
Qualcomm GPU driver (Device specific) CVE-2016-2067


...



Elevation of privilege vulnerability in  CVE-2016-2504,  Critical
Yes
Qualcomm GPU driver CVE-2016-3842


...



Elevation of privilege vulnerability in Qualcomm GPU driver

An elevation of privilege vulnerability in the Qualcomm GPU driver could
enable a local malicious application to execute arbitrary code within the
context of the kernel. This issue is rated as Critical due to the
possibility of a local permanent device compromise, which may require
reflashing the operating system to repair the device.

CVE References Severity Updated Nexus devices Date reported
CVE-2016-2504 Critical Nexus 5, Nexus 5X, Apr 5, 2016
A-28026365 Nexus 6, Nexus 6P,
QC-CR#1002974 Nexus 7 (2013)





I suspect owners of vulnerable phones have a number of options including some or all of




  • wait for manufacturer to provide an over the air update to fix this.

  • don't download any new apps

  • prevent apps from being updated until vulnerabilities are fixed

  • uninstall all superfluous apps

  • power down the phone until sure a fix is ready



I guess many people would regard at least the last item as overkill.







Are 900 million Android devices vulnerable?




Worldwide sales of smartphones are of the order of 1 billion each year.



Qualcomm are a major manufacturer of integrated circuits used in smartphones. They sell a variety of ICs including the popular "Snapdragon" range of ARM-based CPUs. Their annual revenues are of the order of USD 25 billion.



According to Forbes




According to ABI Research, leading chipset maker Qualcomm remained a leader in the LTE baseband chipsets in 2015. The company held a massive 65% of the LTE baseband chipset market in the year.




There may be 2 billion smartphones in use in 2016. Of course, a lot of these will be IOS devices. There may still be one or two Windows phone users out there :-).



The average lifetime of a smartphone might be two years or might be four years. There is certainly a market in second hand smartphones. It seems plausible that many smartphones older than one year are still in use.



Of course, there are Android devices that are not smartphones. Google estimates there are 1.4 billion active Android devices worldwide. 65% of 1.4 billion is 910 million. This might be how journalists arrived at this figure. If so, it isn't at all accurate.



However, assuming that the vulnerable drivers have existed for several years, it seems plausible that hundreds of millions of devices might be affected. 900 million seems to be the extreme upper end of possible estimates.






Related




Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes