The latest version of Apple's Safari browser contains a critical bug that allows attackers to install malware on end user machines, security researchers have warned.
The flaw in the way Safari handles parent windows can be exploited "to execute arbitrary code when a user visits a specially-crafted webpage and closes opened pop-up windows," vulnerability tracking service Secunia warned here.
The vulnerability could also be exploited using booby-trapped email that's read using Safari, the US Computer Emergency Readiness Team said on Monday. It has been confirmed in version 4.0.5 for Windows, and the latest Mac version may also be affected.
The vulnerability was discovered by Polish researcher Krystian Koskowski, who shared this proof-of-concept. Secunia rated the vulnerability "highly critical," the second-highest rating on its five-tier severity scale. US CERT's advisory said researchers there were able to confirm the vulnerability.