Safari: Visiting a malicious website may lead to user interface spoofing (CVE-2024-40797)
A flaw in Safari's state management allowed a malicious website to spoof the browser's user interface. An attacker could trick users into believing they were interacting with a legitimate interface, potentially leading to credential theft or other deception.
Originally disclosed on Apple
Impact: Visiting a malicious website may lead to user interface spoofing
Description: This issue was addressed through improved state management.
Available for: Mac Studio (2022 and later), iMac (2019 and later), Mac Pro (2019 and later), Mac mini (2018 and later), MacBook Air (2020 and later), MacBook Pro (2018 and later), and iMac Pro (2017 and later)
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper state management in Safari allowed a malicious site to manipulate the browser's user interface elements.
What the attacker needed
Victim visits a malicious website
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
User interface spoofing means a malicious website can make its own fake buttons or address bars look like they belong to the browser or another trusted site. This can trick you into typing passwords or clicking things you didn't intend to. The bug was in how Safari kept track of its interface state, and it was fixed by improving that state management.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.