Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-40797: Visiting a malicious website may lead to user interface spoofing in Apple macOS

0
Medium
VulnerabilityCVE-2024-40797cvecve-2024-40797
Published: Mon Sep 16 2024 (09/16/2024, 23:22:17 UTC)
Source: CVE Database V5
Vendor/Project: Apple
Product: macOS

Description

This issue was addressed through improved state management. This issue is fixed in macOS Sequoia 15, macOS Sonoma 14.7, macOS Ventura 13.7. Visiting a malicious website may lead to user interface spoofing.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 23:27:37 UTC

Technical Analysis

CVE-2024-40797 is a vulnerability identified in Apple macOS that enables user interface (UI) spoofing when a user visits a malicious website. The root cause is improper state management within the operating system's handling of web content or UI rendering, which can be manipulated to present deceptive interfaces to the user. This spoofing could allow attackers to mimic legitimate system dialogs or browser UI elements, potentially tricking users into divulging sensitive information or executing unintended actions. The vulnerability affects multiple versions of macOS, including Sequoia 15, Sonoma 14.7, and Ventura 13.7, but Apple has released patches addressing the issue through improved state management. The CVSS 3.1 base score of 6.1 indicates a medium severity, with an attack vector of network (remote via web), low attack complexity, no privileges required, but requiring user interaction. The scope is changed, meaning the vulnerability can affect resources beyond the initially vulnerable component. The impact includes low confidentiality and integrity loss but no availability impact. No known exploits have been reported in the wild, but the potential for phishing or social engineering attacks leveraging UI spoofing remains a concern. This vulnerability highlights the importance of secure UI state handling in preventing deceptive attacks on end users.

Potential Impact

The primary impact of CVE-2024-40797 is the potential for attackers to deceive users through UI spoofing, which can lead to unauthorized disclosure of sensitive information such as credentials or personal data. This can facilitate phishing attacks, social engineering, and potentially unauthorized actions if users are tricked into interacting with spoofed dialogs or prompts. While the vulnerability does not directly compromise system availability or allow privilege escalation, the integrity and confidentiality of user data are at risk. Organizations relying on macOS devices, especially those with users who frequently access web content, may face increased risk of targeted phishing campaigns exploiting this flaw. The medium severity rating reflects the moderate risk posed by this vulnerability, emphasizing the need for timely patching to prevent exploitation. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, as attackers may develop exploits following public disclosure.

Mitigation Recommendations

To mitigate CVE-2024-40797, organizations and users should promptly apply the security updates released by Apple for macOS Sequoia 15, Sonoma 14.7, and Ventura 13.7 or later. Beyond patching, organizations should implement enhanced user awareness training focused on recognizing phishing and spoofed UI elements, as user interaction is required for exploitation. Employing web filtering solutions to block access to known malicious websites can reduce exposure. Additionally, configuring browsers and security tools to display clear and consistent security indicators can help users identify legitimate UI elements. For enterprise environments, deploying endpoint detection and response (EDR) solutions capable of detecting anomalous UI behavior or suspicious web activity may provide early warning of exploitation attempts. Regularly reviewing and updating security policies related to web browsing and user interaction with system prompts will further reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apple
Date Reserved
2024-07-10T17:11:04.691Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a2df0f0ba78a050537402

Added to database: 11/4/2025, 4:46:40 PM

Last enriched: 4/2/2026, 11:27:37 PM

Last updated: 5/9/2026, 8:02:14 AM

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses