cbcvebase.
CVE-2018-4218
published 2018-06-08

CVE-2018-4218: An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected…

PriorityP262high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
9.08%
94.7th percentile
An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 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 that triggers an @generatorState use-after-free.

Affected

16 ranges
VendorProductVersion rangeFixed in
appleicloud< 7.57.5
appleicloud_for_windows
appleios
appleiphone_os< 11.411.4
appleitunes< 12.7.512.7.5
appleitunes_12.7.5_for_windows
applesafari< 11.1.111.1.1
applesafari
appletvos< 11.411.4
appletvos
applewatchos< 4.3.14.3.1
applewatchos
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debianwebkit2gtk< webkit2gtk 2.20.3-1 (bookworm)webkit2gtk 2.20.3-1 (bookworm)

Detection & IOCsextracted from sources · hover to see the quote

urlhttps://www.exploit-db.com/exploits/44861
  • Look for JavaScript generator abuse patterns where an object's __proto__ is set to an iterator object and .next() is called, triggering a use-after-free on @generatorState
  • The vulnerability is triggered via a crafted web page that causes a use-after-free when resuming a JavaScript generator (GeneratorState object freed and reused); monitor WebKit/JavaScriptCore crashes referencing generatorState or generator resumption
  • Exploit PoC uses Array.pop() in a loop combined with prototype chain manipulation on a generator iterator to corrupt memory; inspect suspicious JS for Array.pop() combined with __proto__ reassignment to an iterator
  • ·Exploit is delivered entirely via crafted web content; no network-level IOC (domain/IP) is embedded in the public PoC — detection must rely on content/behavioral inspection
  • ·Affected products span multiple Apple platforms (iOS <11.4, Safari <11.1.1, iCloud for Windows <7.5, iTunes for Windows <12.7.5, tvOS <11.4, watchOS <4.3.1); ensure version checks cover all WebKit consumers, not just Safari

CVSS provenance

nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.