Android security update focuses on media files

Do you like audio and video on your Android device? They lie at the heart of recent vulnerabilities in Google's latest security update

In light of Android's mediaserver issues, Google’s latest Android security update focused on flaws related to the operating system's treatment of media files. Android’s current flaws are similar to problems that cropped up with Windows more than a decade ago.

Google addressed seven vulnerabilities as part of this month’s Android security update, released this week. Of the critical vulnerabilities, one was in the libutils component (CVE-2015-6609) near where Stagefright flaws were found over the summer, and the other was in the Android mediaserver component (CVE-2015-6609). They were rated as critical, as they could allow remote code execution when handling malformed media files.

There were three other vulnerabilities related to media processing rated as high. One was in the Stagefright media playback engine (CVE-2015-6610), one in mediaserver (CVE-2015-6611), and one in libmedia component (CVE-2015-6612).

The media processing layer is prone to vulnerabilities and attacks, said Trend Micro’s Christopher Budd. The operating system takes the data from Web services and executes it as a lower-level process, and handling the shift correctly can be tricky. It is easy to introduce mistakes in this layer.

Mediaserver is a core component of the Android operating system, and it interacts with a number of system applications, including MMS and media playback via the browser. Mediaserver has access to audio and video streams, along with privileges that third-party apps cannot normally access, Google said in its advisory.

Considering mediaserver's importance to Android, it is not surprising that researchers are looking at the Stagefright engine and other media libraries more carefully. Increased scrutiny inevitably leads to a higher number of bugs reported and fixed.

The recent wave of media-related vulnerabilities is reminiscent of similar events with Windows, Budd said. Windows faced the same challenges in determining how to safely play media files received from a variety of sources.

Trend Micro reported two “high” vulnerabilities found in the same area as Stagefright vulnerabilities, but in different classes. Unlike Stagefright, which was a remote code execution flaw, these were information disclosure and privilege escalation flaws. While these bugs on their own would not result in code execution, they could potentially be chained with other flaws to give attackers access to the device.

The critical libutils flaw turned out to be an integer overflow that could lead to a heap overflow in the library’s Vector container. The attacker could potentially trigger the bug by using a high enough input value for the length of an item in memory and gain write access anywhere within. This flaw was similar to two other issues in the libutils library fixed in last month’s update.

“The libutils vulnerabilities are very serious as they allow an attacker to gain code execution where they’re used with untrusted input,” said Cooperhead Security’s Daniel Micay, who reported the flaw. Though the vulnerability is in libutils, it could be exposed via libstagefright, and if a mediaserver process that uses libstagefright executes the vulnerable code, then it becomes a remote code execution attack. Potential attack vectors include media playing in the Web browser and MMS messages. Mediaserver also automatically scans and analyzes all media files in Android’s shared storage area, meaning downloaded media files on the device could trigger an attack.

The updates are available for Nexus devices running both Android 5.1 Lollipop and 6.0 Marshmallow, and they have been added to the Android Open Source Project. Google partners -- the phone manufacturers -- have received the updates, but it is up to the individual carriers when they will actually hit user handsets.

Join the CSO newsletter!

Error: Please check your email address.

Tags Google

More about GoogleTrend Micro

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Fahmida Y. Rashid

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place