WhatsApp users on iPhones are being urged to ensure their chat app is fully updated, following the discovery of an attack that could enable hackers to target devices and steal sensitive information.