Maliciously crafted MKV video files can be used to crash Android phones

Researchers discovered a vulnerability in Android's mediaserver component that can be exploited by malicious apps and websites

To take a screenshot on most Android phones, press and hold the power and volume down buttons.

To take a screenshot on most Android phones, press and hold the power and volume down buttons.

A malicious application or Web page could be used to crash Android devices, in some cases persistently, due to a vulnerability in a multimedia processing component.

The announcement, by security researchers from Trend Micro, comes days after other Android media processing flaws were revealed. Those flaws could allow attackers to compromise devices with a simple MMS message.

The latest vulnerability is located in Android's mediaserver component, more specifically in how this service handles files that use the Matroska video container (MKV), the Trend Micro researchers said in a blog post Wednesday.

When the vulnerability is exploited, the device becomes silent and unresponsive. No ring tone or notification sounds can be heard and calls cannot be initiated or accepted. Furthermore, the user interface can become sluggish or completely unusable and, if the phone is locked, it cannot be unlocked, the researchers said.

The flaw can be exploited in two ways: through a malicious application that contains a malformed MKV file, or by browsing to a Web page with a specifically crafted MKV video embedded in it.

"The first technique can cause long-term effects to the device: An app with an embedded MKV file that registers itself to auto-start whenever the device boots would case the OS to crash every time it is turned on," the Trend Micro researchers said.

The effect of the Web-based exploit is not as persistent and the device can be rebooted to restore normal operation. However, the Web-based exploit works even if Chrome for Android is configured not to preload or autoplay video files, the researchers noted.

Trend Micro reported to flaw in May, it said, but Google assigned it a low priority.

One group of attackers who might abuse this sort of flaw are ransomware creators. Some existing ransomware apps attempt to prevent users from using their phones until they pay ransom fees.

This vulnerability could provide attackers with a way to achieve that same effect, but in a way that would make users more likely to pay up, the Trend Micro researchers said.

The flaw affects all phones running Android 4.3 (Jelly Bean) and higher, including the latest 5.1.1 (Lollipop) update. That's more than 50 percent of Android devices, according to the Google Play statistics for June.

It's not clear if Google created a patch for this issue yet or if it shared it with device manufacturers. The company did not immediately respond to a request for comment.

No patch has been yet released to the Android Open Source Project (AOSP), the Trend Micro researchers said.

Even if a patch was provided to device manufacturers, it will probably take months for it to reach a significant number of devices. And many devices will likely never get patched because they're no longer supported by their manufacturers.

The slow distribution of security updates coupled with the version fragmentation is the Achilles heel of the Android ecosystem, according to many security researchers. All software has bugs, but a developer's ability to create and distribute patches quickly plays a critical role in limiting the impact of potential vulnerabilities.

Researchers expect to find more vulnerabilities in Android's multimedia processing components, especially because they're designed to parse input from untrusted sources.

Vulnerabilities often stem from applications behaving abnormally when receiving unexpected input, so programs that process files naturally have been more likely to have vulnerabilities. Media libraries and frameworks fall into this category because video and audio files are complex and take a lot of processing. They can have various metadata, encoding, formatting and containers, providing many opportunities for malformed input.

"Further research into Android -- especially the mediaserver service -- may find other vulnerabilities that could have more serious consequences to users, including remote code execution," the Trend Micro researchers said.

Joshua Drake, a security researcher who recently found critical vulnerabilities in Android's Stagefright multimedia framework, described the component's code as "not very mature" and its security flaws as "beginner-ish."

Join the PC World newsletter!

Error: Please check your email address.

Tags Googletrend microsecuritymobile securityExploits / vulnerabilitiesmalware

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Cool Tech

Crucial Ballistix Elite 32GB Kit (4 x 8GB) DDR4-3000 UDIMM

Learn more >

Gadgets & Things

Lexar® Professional 1000x microSDHC™/microSDXC™ UHS-II cards

Learn more >

Family Friendly

Lexar® JumpDrive® S57 USB 3.0 flash drive 

Learn more >

Stocking Stuffer

Plox Star Wars Death Star Levitating Bluetooth Speaker

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?