Close ad

macOS Mojave contains a security flaw that allows malware to discover the complete history of Safari. Mojave is the first ever operating system in which website history is protected, yet the protection can be bypassed.

In older systems, you could find this data in a folder ~/Library/Safari. Mojave protects this directory and you cannot display its contents even with a normal command in Terminal. Jeff Johnson, who developed applications such as Underpass, StopTheMadness or Knox, discovered a bug with which the content in this folder can be displayed. Jeff didn't want to make this method public and immediately reported the bug to Apple. However, he adds that Malware is able to violate user privacy and work with Safari history without major problems.

However, only applications that are installed outside the App Store can use the bug, as applications from the Apple Store are isolated and are not able to look into the surrounding directories. Despite this flaw, Johnson claims that protecting Safari's history is the right thing to do, because in older versions of macOS this directory was not protected at all and anyone could look into it. Until Apple issues a fix update, the best prevention is to only download apps you trust.

Source: 9to5mac

.