Feeds

Slapdash SSL code puts tons of top Android Play Store apps in hack peril

Man-in-the-middles all round!

Beginner's guide to SSL certificates

Sloppy programming, poor patching, and unreliable trust engines are rife within Android apps, according to a new study. In short, millions smartphone users are potentially wide open to man-in-the-middle attacks, it's claimed.

Researchers at security firm FireEye went through the 1,000 most popular Android applications from the Google Play store and found that a large majority of them were open to at least man-in-the-middle attacks, thanks to faulty SSL error and certificate handling. For the top 10,000 apps that figure was 60 per cent.

"The Android ecosystem is all about communicating, and right now it's screaming for help," the team said in a blog post. "That's because SSL vulnerabilities and the Man-In-The-Middle (MITM) attacks they enable are wreaking havoc on data security."

The researchers examined the code for three basic SSL security errors: trust managers that don't check digital certificates are even valid, apps don't verify the hostname of the remote server is correct, and code that ignores SSL errors when using Webkit – errors that flag up when security integrity checks have failed.

Trust management engines not checking the identity of backend servers is by far the most common problem, and essentially means miscreants can masquerade as legit systems to siphon off data, and so on. This occurred in 73 per cent of the top 1,000 apps and 40 per cent of the top 10,000 applications in Google's download zone.

The second most common flaw was Webkit errors, affecting 77 per cent of the top 1,000 apps and 13 per cent of the top 10,000. Meanwhile hostname checking errors were in the single figures for both test groups.

Ad networks are an increasingly attractive attack vector for man-in-the-middle attacks, either to hijack a connection to install malware or suck away viewers to other sites. The team found the two top advertising libraries in the sample set – Flurry and Chartboost – had unreliable trust managers.

Both pieces of software have now been fixed, but that doesn't mean third-party app coders have upgraded, rebuilt their code and released new versions.

"Many issues in SSL and cryptography arise from how applications are tested and released. During development, many software shops find it useful to disable normal validation of SSL to facilitate testing," Patrick Thomas, security consultant at and risk management company Neohapsis told El Reg in a statement.

"This is a dangerous practice because it requires that someone remember to turn it back on before shipping - an easy mistake to make with huge consequences. This sort of research highlights the importance of having security expertise tightly integrated with development teams, and performing specific security testing (in addition to functional testing) before release." ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
SMASH the Bash bug! Apple and Red Hat scramble for patch batches
'Applying multiple security updates is extremely difficult'
Apple's new iPhone 6 vulnerable to last year's TouchID fingerprint hack
But unsophisticated thieves need not attempt this trick
Oracle SHELLSHOCKER - data titan lists unpatchables
Database kingpin lists 32 products that can't be patched (yet) as GNU fixes second vuln
Who.is does the Harlem Shake
Blame it on LOLing XSS terroristas
Researchers tell black hats: 'YOU'RE SOOO PREDICTABLE'
Want to register that domain? We're way ahead of you.
Stunned by Shellshock Bash bug? Patch all you can – or be punished
UK data watchdog rolls up its sleeves, polishes truncheon
Ello? ello? ello?: Facebook challenger in DDoS KNOCKOUT
Gets back up again after half an hour though
Desperate VXers enslave FREEZERS in DDoS bot
Updated Spike malware targets Asia
Heatmiser digital thermostat users: For pity's sake, DON'T SWITCH ON the WI-FI
A stranger turns up YOUR heat with default password 1234
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.