Unknown hackers exploited a bug in Oracle’s Java software, which was used as a plug-in on web browsers. The same malware was used to attack Facebook previously. The latest attack was made not only on Apple, but on other companies as well, including defence contractors, using the same malware.
Apple computers were for the longest times thought to be the safest in the industry, although it was pointed out several times that this was not because the OS was unbreakable. Rather it seems that hackers had not given a lot of attention towards Apple systems, as the majority of computers were running Microsoft Windows, which has had a number of vulnerabilities exploited worldwide. Perhaps as Apple has now gained a bigger market share over Microsoft, more hackers are focusing their attentions on Apple products.