Released September 16, 2024

CVE-2024-40866

CVSS 6.5 severity medium vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Overview

Impact:

Description: Visiting a malicious website may lead to address bar spoofing

Researchers: Hafiizh and YoKo Kho (@yokoacc) of HakTrak

Background

Advisory: Apple Security Advisory

Attribute Value
CVE CVE-2024-40866
Bugzilla 279451
Component WebKit
Bug Class LogicError
Severity medium
Advisory Apple Advisory

Fix not public. The WebKit fix for this bug is embargoed or not yet disclosed. The bug ID is confirmed from the Apple advisory, but no public commit references it.

Root Cause Analysis

The issue was addressed with improved UI.

Audit Directions

When auditing for this vulnerability, focus on: (1) similar patterns in the patched functions and nearby code, (2) missing or insufficient bounds checks on user-controlled input, (3) unvalidated type conversions and pointer arithmetic, (4) edge cases not exercised by tests, and (5) copy-paste variants of the vulnerable logic elsewhere.