Apple has urged Australian users of iPads, iPhones and other Apple gadgets to change their iCloud passwords following a recent security breach.

Apple, the second largest mobile OS provider, has urged the users of iPhones, iPads and other iDevices residing in Australia to immediately change the password of their iCloud accounts after reports of a recent security breach. Several Apple device owners reported their devices had been locked and hackers demanded ransom to release the remote lock.

The attack, which was first reported on Apple online forums, mainly targets Australian users. Some reports of hacks have been reported from the U.S., U.K. and New Zealand. The Australian government issued a statement on its 'Stay Smart Online' website, Tuesday, asking victims to not panic but to change their iCloud passwords. The statement strongly suggests users to avoid falling into the trap of transferring demanded ransom via PayPal to regain access, in fact, contact Apple for help.

Apple assured its users in a statement that the content stored on iCloud was not compromised.

"Apple takes security very seriously and iCloud was not compromised during this incident. Impacted users should change their Apple ID password as soon as possible and avoid using the same user name and password for multiple services. Any users who need additional help can contact AppleCare or visit their local Apple Retail Store," Apple said in a statement, reports The Australian.

Affected Apple users are getting all the help to overcome the malicious attack. PayPal is lending full support to protect consumers against fraud. The payment processing company also issued a statement saying it will refund any amount sent to the hackers.

Apple is not fully aware of the origin of the attack but assumes the hackers gained access to users' iCloud accounts through a third party online service, where the same username and password is used to login.

Users can use the Apple ID to regain access to the iDevice and turn off the Lost Mode, which the hackers have used to trigger the remote lockout. In case the hacker has set a new passcode lock on the device, users can follow the steps given by Apple on its Support pages. Those with a passcode can reactivate the devices instantly and also set up two-factor authentication for future safety of their online accounts.

Users with unique problems regaining access to their accounts can contact Apple Care for specific advice.