Categories: News

Apple users, attackers could be using this Safari hack to access your webcam

You know how Apple users are always talking about the supposedly better security that the ecosystem offers? Whether that is a factual statement or not, Apple’s reputation for security has been arguably well-earned over the years. However, a security researcher has now shared his discovery of a vulnerability on the Safari browser that allows attackers to take control of your Apple device’s camera.

According to Ryan Pickren, the issue affects Desktop Safari for Mac computers, as well as Mobile Safari on iPhones and iPads. All that’s needed is for victims to click a malicious link to give attackers access to front and rear cameras (or just the front on a Mac), microphones, screensharing, and potentially other private information like plaintext passwords.

How does this work?

SOURCE

Basically, the hack works by duping the Safari browser into believing that a malicious website is a trusted one. Normally, the camera apps on iOS and macOS require specific permissions—the ones you usually see in pop-up alerts when using an app for the first time. However, Pickren discovered vulnerabilities in Safari that allows some of Apple’s apps to access the camera without any permission prompts.

“My research uncovered seven zero-day vulnerabilities in Safari (CVE-2020-3852, CVE-2020-3864, CVE-2020-3865, CVE-2020-3885, CVE-2020-3887, CVE-2020-9784, & CVE-2020-9787), three of which were used in the kill chain to access the camera.”

What’s even more worrying is that “new web technologies” also mean that certain websites can access your camera—all you need to do is to click on, say, a banner ad.

“If the user chooses a suitable browser which they know can trust, then all WebRTC communication can be considered ‘secure’ […] In other words, the level of trust provided to the user by WebRTC is directly influenced by the user’s trust in the browser.” 

When dealing with site permissions, users often save their preferences in the Safari browser. These permissions often cover microphone and camera access (among others), and attackers take advantage of this by creating websites that appears to Safari as a “trusted website”. This then grants the site the same permissions that you might have earlier granted to a video conferencing app like Skype or Zoom.

SOURCE

Attackers could theoretically use websites, ad banners, or even browser extensions to take advantage of the vulnerability, and the issue is basically how Safari handles URLs and recognises “secure” sources. Essentially, the attack works by disguising a malicious site as a trusted source. Here’s how it works, in technical terms:

  • Open evil HTTP website
  • HTTP website becomes a data: URI
  • data: URI becomes a blob: URI (with magic blank origin)
  • Manipulate window.history (in 2 parts!)
  • Create an # iframe and document.write to it
  • Dynamically give this iframe the sandbox attribute
  • Attempt an impossible frame navigation using X-Frame-Options
  • From within the iframe, window.open a new popup and document.write to it
  • Profit

Pickren reported the bug to Apple’s Security Bounty Program, and received USD75,000 (~RM319,050) for his efforts. Wired reports that the vulnerabilities have already been patched in the latest January and March updates, so be sure to keep your Safari and iOS/macOS versions updated. As always, you should always only click links from sources that you trust, and always be aware of the permissions that you are granting—especially if you’re visiting new, unknown websites.

[ SOURCE , 2 ]

Recent Posts

Realme 16 and 16T Malaysia: Slim 7,000mAh and 8,000mAh battery smartphones, now available from RM1,299

Realme Malaysia has officially launched the Realme 16 and Realme 16T which focuses on long…

11 hours ago

JomCharge offers 50% discount for Solaris Mont Kiara EV chargers for this weekend only

JomCharge and DBKL officially announce their EV charger #21 located at Solaris Mont Kiara. The…

1 day ago

Malaysia EV registrations rise 21% in May 2026 despite overall car market decline of 11%

Malaysia's electric vehicle (EV) market continues to show growth in May 2026, with registrations growing…

1 day ago

Hyundai Ioniq 5 N and Ioniq 6 N launched in Malaysia with up to 641hp, from RM443,888

Hyundai Motor Malaysia has officially launched the Hyundai Ioniq 5 N and Hyundai Ioniq 6…

2 days ago

Proton e.MAS 7 Premium Plus delivers up to 450km WLTP, priced from RM119k

Pro-Net has officially unveiled the 3rd variant for Proton e.MAS 7 family at the ongoing…

2 days ago

Zeekr 009 Grand and Zeekr 9X now open for booking in Malaysia, priced from RM600,000

Zeekr Malaysia has revealed its two flagship models at KLIMS 2026, with the Zeekr 9X…

2 days ago

This website uses cookies.