Severe Deserialization Vulnerabilities Found In Android, 3rd Party Android SDKs
An anonymous reader writes: Closely behind the discoveries of the Stagefright flaw, the hole in Android's mediaserver service that can put devices into a coma, and the Certifi-gate bug, comes that of an Android serialization vulnerability that affects Android versions 4.3 to 5.1 (i.e. over 55 percent of all Android phones). The bug (CVE-2015-3825), discovered by IBM's X-Force Application Security Research Team in the OpenSSLX509Certificate class in the Android platform, can be used to turn malicious apps with no privileges into "super" apps that will allow cyber attackers to thoroughly "own" the victim's device. In-depth technical details about the vulnerabilities are available in this paper the researchers are set to present at USENIX WOOT '15.
Google has already patched the SDKs, but I think any apps made with them have to be updated as well.
this is getting silly. I'm gonna go get an old ass nokia non-smart phone and just be happy.
Perhaps someone with more Java/Android experience can elaborate but my quick read on serialization leads me to believe that this is a flaw in Java itself and that per the below, while steps can be taken to mitigate the risk, it can't be eliminated.
I dropped the entire Windows platform last year. It's fantastic sitting back and watching the Windows fanboy's house of cards come crashing down.
Sent from my Potato.
I realize this needs to be patched, however just what are the odds of this happening? Apple OSes, linux, Windows, bds's all have various issues. They are routinely taken care of. My guess is the odds are extremely low if not zero. Google probably pays these kind of folks for discoveries like this.
With so much news and controversy generated by these stories, many many more security researchers and companies are going to start doing deeper dives into Android source code and the various forks individual companies use.
This at once great and scary. Great because it's better to get these vulnerabilities out in the open so they can be dealt with accordingly. Scary because of the market fragmentation, the vast majority of phones will never see security updates. A minority of Android users have the knowhow to update or go to a custom ROM. People won't care about how vulnerable any information stored on these devices might be until it's too late.
If this was as easy as upgrading individual packages/kernel packages, it would be a non issue.
Can I use this to root my android devices?
John_Chalisque
We always get a fanboi!
Psssst... this article is about Android.
iOS and MacOSX have had tons of bugs to do with deserialization of messages passed inter-process, usually XPC type confusion issues.
This is a very neat sort of attack, but it requires quite a few rarely used features to appear in conjunction to pull off, which is why they only found one exploitable class in the entire Android SDK. Their mitigation suggestions are good and can be implemented with some fairly minor API upgrades. I don't think this bug in particular is going to tip the security balance between iOS and Android much.
It may be fixed but is your device going to get that patch? Oh I'm sorry, your phone is a year old... buy a new phone instead!
This should be a question for the FCC to ask all the US carriers. Failure to push OS security updates should result in massive fines against all of them, not just the usual level of 'spare change in the corner office couch cushions' type, as these vulnerabilities will sooner or later affect life and limb.
If you whine and slow-play some BS about making sure it won't harm your precious networks, okay. But the fines will be imposed and continue to increase until the all the patches are truly pushed out.
Carriers, either push out the security updates to all affected phones, or release unlockers to allow your customers to defend themselves; there should be no other options given to you.
Any vulnerability in Debian, Fedora, or Android is Linux-gate.
the ONLY way to be even semi-secure with Android is to only download "curated" Apps
True, but Android lets the user choose more than one curator. Other established curators include Amazon and F-Droid.
I still wouldn't change back to a device that you don't truly own even after paying $500+ for the device.
'The bug (CVE-2015-3825) .. can be used to turn malicious apps with no privileges into "super" apps'
:)
Except you forgot to mention that the malware (SerializePOC) has to be already installed on the device. So to get 'hacked' a) download and install malicious app
Comment removed based on user account deletion
Comment removed based on user account deletion
Comment removed based on user account deletion
Put an object that is of a class known to the system class loader into an Intent extra. Broadcast the intent it such at it will be received by the system (by possibly targeting an intent filter that's already handled by something in the system process). The system, as soon as it reference any of the Intent extras, will deserialize all of them, including the malicious object (that's how the Bundle object, which backs intent extras works). Eventually, even if that object was never used, it's finalize() method will be called. Depending on the fields that were present in the serialized form, there is potentially an exploit. This could happen if the implementation of that system class's finalize() method could be tricked into doing something funny by the data in the serialized fields in the object.
This is only a theoretical exploit. It depends on finding a system class with a vulnerability that can be exploited by crafting the data in it's fields, and the usage of those fields in it's finalize() methods.