Researchers find flaw in Apple's iMessage, decrypt iCloud photo

Apple plans to patch the issue in iOS 9.3, due for release on Monday

Apple's iMessage system has a cryptography flaw that allowed researchers to decrypt a photo stored in iCloud, the Washington Post reported on Sunday.

The researchers, led by cryptography expert Matthew D. Green of Johns Hopkins University, wrote software that mimicked an Apple server and then targeted an encrypted photo stored on iCloud, the publication reported.

They were able to obtain the decryption key by repeatedly guessing each of its 64 digits. When a correct digit was guessed, the phone let them know if it was correct. Further technical details were not available.

Apple's iMessage application uses end-to-end encryption, which means the company does not store any encryption keys. A vulnerability in iMessage would mean that attackers would have a way to circumvent that security and view private content.

Storing the encryption keys on the devices rather than central servers is considered a good security practice. But researchers have pointed out weaknesses in Apple's system and how it would, in theory, be possible for the company to send copies of iMessages to another party.

The Washington Post story prompted many comments on Twitter after it was apparently mistakenly posted earlier on Sunday but then withdrawn. The story then ran just after midnight Monday U.S. East Coast time.

Apple is quoted as saying the flaw will be patched in iOS 9.3, which is due for release Monday. Apple officials couldn't immediately be reached.

Ian Miers, a computer science doctoral student at Johns Hopkins, wrote on Twitter on Sunday that a blog post, technical paper and more details will be released after Apple issues a patch.

"And now you have 14 hours to guess what the attack is," Miers wrote in another tweet. "As a hint, no, it's not a bug in how Apple stores or encrypts attachments."

The Post reported that the vulnerability will not help the U.S. government unlock the phone of San Bernardino shooter Syed Rizwan Farook.

Apple is in a legal battle with the government over a court order that requires the company to create a special version of iOS that would allow investigators to try to unlock Farook's phone.

Farook's iPhone 5c in question may have a security feature enabled that will destroy a decryption key for its data if the passcode is entered 10 times incorrectly.

The government wants access to six weeks' worth of data stored only on the device and was not backed up to Farook's iCloud account, which Apple turned over to investigators.

Apple fears creating such software will pose risks to millions of customers if it was obtained by other parties.

Join the CSO newsletter!

Error: Please check your email address.

More about AppleTwitter

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Jeremy Kirk

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts