When it comes to data privacy and security, Apple has rarely shied away from taking credit for its encryption and security. Even in the tech industry, analysts have time to time lauded the company for its relatively secure operating system when compared to its immediate competitors. But now a flaw in its ecosystem, exposed by two researchers, may allow personal data in Apple’s iPad and iPhones to be breached.
According to Talal Haj Bakry and Tommy Mysk, when a user copies any miscellaneous data, it gets stored on Apple‘s general pasteboard [commonly known as clipboard]. This data temporarily stored to the device’s memory can be accessed by all apps, thereby, risks revealing private information such as a user’s GPS coordinates, passwords and banking details.
“iOS and iPad operating system apps have unrestricted access to the system-wide general pasteboard,” the duo noted in a post published on Monday. They added saying, “A user may unwittingly expose their precise location to apps by simply copying a photo taken by the built-in Camera app to the general pasteboard. Through the GPS coordinates contained in the embedded image properties, any app used by the user after copying such a photo to the pasteboard can read the location information stored in the image properties.” Mysk believes this is Apple’s vulnerability.
To illustrate how one can access information, Mysk and Bakry published a video on their blog in which the researchers created a rogue proof-of-concept (PoC) app called KlipboardSpy and an iOS widget named KlipSpyWidget to show how data saved in general pasteboard gets accessed by apps. You can watch the video here:
Bakry and Mysk further revealed in their post they first submitted this article and source code to Apple on January 2, 2020. “After analysing the submission, Apple informed us that they don’t see an issue with this vulnerability,” they said. In their research, it was also mentioned that going by Apple’s policies, “iOS and iPad operating system are designed to allow apps to read the pasteboard only when apps are active in the foreground”. The researchers cautioned that these apps can always access when an app widget is added to Apple’s Today View.
In the concluding section of their post, the duo suggested that Apple should not have “unrestricted access to the pasteboard without user’s consent.” “Alternatively, the operating system can only expose the content of the pasteboard to an app when the user actively performs a paste operation.