Apple and the FBI are currently investigating nude photos and videos of celebrities that were leaked online over the weekend.

It has been reported that the hackers exploited the individual accounts on iCloud, an online service to store photos, music and other data from Apple devices, to reveal private images and footage of several Hollywood stars to public.

Moreover, according to Re/code, the hackers are thought to have used a tool called iBrute, which allows people to repeatedly try different combinations of passwords on Apple's Find My iPhone -- a service that tracks the location of a missing phone and allows a user to disable the phone remotely if it is stolen -- until one of them works.

The leaked photos of Jennifer Lawrence, Kate Upton and Kirsten Dunst among numerous other actresses, models and athletes were then posted to the public message boards of Web image-sharing communities, such as 4chan and Reddit. They have since spread across the Internet, being published on social media websites like Twitter.

"We take user privacy very seriously and are actively investigating this report," Apple spokeswoman Natalie Kerris said in a statement.

The FBI is also looking into the nude celebrity photo scandal.

"The FBI is aware of the allegations concerning computer intrusions and the unlawful release of material involving high profile individuals, and is addressing the matter," a spokesperson told Hollywood Reporter. "Any further comment would be inappropriate at this time."

In addition, the experts at the security firm FireEye examined the available evidence and claimed that the recent hacking might have been prevented if the victims had enabled additional step, "two-step verification," on their accounts.