How Hackers Targeted Celebrities' Apple Accounts

Apple investigation reveals how hackers got access to celebs' private photos.

— -- Hackers gained access to leaked nude photos purporting to be of dozens of A-list celebrities by an "all too common" tactic, according to Apple.

"After more than 40 hours of investigation, we have discovered that certain celebrity accounts were compromised by a very targeted attack on user names, passwords and security questions, a practice that has become all too common on the Internet," Apple said in a statement today.

How the Cloud Really Works

Hackers Post Alleged Naked Pics of Jennifer Lawrence and More

Does Your Digital Footprint Include Nude Photos Waiting to Be Hacked?

Apple said it is "continuing to work with law enforcement to help identify the criminals involved."

Apple immediately released a statement saying it takes any breach of user privacy seriously and would actively investigate the report.

ABC News' Rebecca Jarvis and Neal Karlinsky contributed to this report.