Apple has for long been lauded as one of the most secure phone brands, but a recent study has cast doubt on the company’s safety