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 newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags malwaremobile securityGoogletrend microExploits / vulnerabilities

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

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?