CVE-2018-4162

HIGH

Safari < 11.1 - Remote Code Execution via Crafted Web Site

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-4162. PoCs published by kudima, Ian Beer, WanderingGlitch, timwr, including Metasploit module exploits/apple_ios/browser/safari_jit.

AI-analyzed exploit summary This Metasploit module exploits a JIT optimization bug in Safari WebKit (CVE-2016-4669) to achieve arbitrary code execution on iOS 7.1.2. It leverages a kernel exploit to obtain root privileges and disable code signing, then downloads and executes a Meterpreter payload.

Description

An issue was discovered in certain Apple products. iOS before 11.3 is affected. Safari before 11.1 is affected. iCloud before 7.4 on Windows is affected. iTunes before 12.7.4 on Windows is affected. tvOS before 11.3 is affected. watchOS before 4.3 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted web site.

Exploits (1)

metasploit WORKING POC GOOD
by kudima, Ian Beer, WanderingGlitch, timwr · rubypocapple_ios
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/apple_ios/browser/safari_jit.rb

This Metasploit module exploits a JIT optimization bug in Safari WebKit (CVE-2016-4669) to achieve arbitrary code execution on iOS 7.1.2. It leverages a kernel exploit to obtain root privileges and disable code signing, then downloads and executes a Meterpreter payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Racy
Target: Safari WebKit on iOS 7.1.2
No auth needed
Prerequisites: Target device running iOS 7.1.2 · Safari browser access
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1040604
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208698
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201808-04
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208696
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208693
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208694
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208697
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3635-1/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208695

Scores

CVSS v3 8.8
EPSS 0.3860
EPSS Percentile 98.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (9)
apple/icloud < 7.4
apple/iphone_os < 11.3
apple/itunes < 12.7.4
apple/safari < 11.1
apple/tvos < 11.3
apple/watchos < 4.3
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
webkitgtk/webkitgtk\+ < 2.20.4
Published Apr 03, 2018
Tracked Since Feb 18, 2026