Google Rebuilt the Android Media Stack To Prevent Another Stagefright
Reader Trailrunner7 writes: Android Nougat is bringing with it a slew of security improvements, many of them under the covers, and the one that likely will have the biggest long-term effect is the major rebuilding effort Google undertook on the media stack. That component of the operating system is meant to process audio and video, and it's been a weak spot in Android. The media stack includes the mediaserver process, which is used by a number of apps on Android devices. Researcher Josh Drake last year discovered a critical vulnerability in the libstagefright function in the media stack, which could allow an attacker to get complete control of a target device by sending a malicious MMS message. The Stagefright vulnerability is among the more widespread and dangerous flaws to affect Android, and though Google patched it last year, the company decided to take a more systemic approach to the problem in Nougat. Rather than addressing vulnerabilities on a case by case basis, Google implemented technologies to prevent a large group of bugs.
no need for this sandboxing stuff. Sandboxes should be a second line of defense, not a first one.
By my understanding, devices they aren't putting Nougat on, like the Nexus 5, are still supposed to get security updates. This seems to be a major security update. So, rather than just put Nougat on the Nexus 5, which they easily could with its hardware, they've committed to individually patching a category of bug that they just put a bunch of work into not having to individually patch. Or is my phone continuing to get security updates a lie?
Rearchitecting a product so that it is inherently less vulnerable is exactly what every software developer should be doing.
Taking a stab at Google over this is something only an idiot would do.
---
According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
Forking OpenSSL comes to mind
The "hidden fixes whenever we want, oh and full control of your device for your safety and ours" maneuver starts now.
Apple is next.
It was. Take a look at http://www.libressl.org/.
No good deed goes unpunished.
The author’s last sentence insinuates that vulnerabilities are bugs If code is designed to accomplish specific tasks using specific input, is it a bug when someone nefariously alters input to derive unintended results?
Thoughts?
The real WTF is that https://www.libressl.org/ produces "Firefox can’t establish a connection to the server at www.libressl.org." They aren't even eating their own dog food.
I'm not sure what the point of your response is. Obviously I'm aware it was forked, that's why I said it comes to mind when thinking about libraries/functions that have a rotten base.
The whole media stack is still based around the binary blobs provided by the SoC supplier and wrapped by hacking shims to provide an common API.
It would be nice to see Google use it's power for good and start forcing manufacturers to open up the SoCs. Unlikely, but I can dream :-)
Google don't write the code that controls the radio, the vendor who makes the radio chip does.
Blame Qualcomm and others for that.