CVE-2017-7040
published 2017-07-20CVE-2017-7040: An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. Safari before 10.1.2 is affected. iCloud before 6.2.2 on Windows is affected…
PriorityP262high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
6.31%
92.8th percentile
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. Safari before 10.1.2 is affected. iCloud before 6.2.2 on Windows is affected. iTunes before 12.6.2 on Windows is affected. tvOS before 10.2.2 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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | icloud | < 6.2.2 | 6.2.2 |
| apple | icloud_for_windows | — | — |
| apple | ios | — | — |
| apple | iphone_os | < 10.3.3 | 10.3.3 |
| apple | itunes | < 12.6.2 | 12.6.2 |
| apple | itunes_12.6.2_for_windows | — | — |
| apple | safari | < 10.1.2 | 10.1.2 |
| apple | safari | — | — |
| apple | tvos | < 10.2.2 | 10.2.2 |
| apple | tvos | — | — |
| debian | webkit2gtk | < webkit2gtk 2.16.3-2 (bookworm) | webkit2gtk 2.16.3-2 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
- →The vulnerability is a use-after-free in WebCore::getCachedWrapper triggered via JavaScript DOM manipulation (getElementById) combined with garbage collection pressure to free the underlying Element wrapper, exploitable via a crafted web page. ↗
- →The UAF is triggered through the call chain: getCachedWrapper -> toJS -> jsDocumentPrototypeFunctionGetElementByIdCaller, meaning detection should look for anomalous GC sweeps interleaved with DOM element lookups in WebKit-based browsers. ↗
- →The exploit uses a JavaScript timer (DOMTimer/ScheduledAction) to trigger the use-after-free after memory has been freed by the GC sweeper; monitor for exploit pages using setInterval/setTimeout combined with aggressive memory allocation loops and getElementById calls. ↗
- →The freed object is a 240-byte JSHTMLDocument wrapper; crash signatures in WebKit process (com.apple.WebKit.WebContent) referencing getCachedWrapper or a 240-byte heap region UAF are indicative of exploitation attempts. ↗
- →Exploitation occurs inside the WebKit WebContent XPC service process; monitor for crashes or anomalous behavior in com.apple.WebKit.WebContent.Development / com.apple.WebKit.WebContent. ↗
- ·The vulnerability affects WebKit across multiple Apple products; patched versions are iOS 10.3.3, Safari 10.1.2, iCloud for Windows 6.2.2, iTunes 12.6.2 on Windows, and tvOS 10.2.2. Detection should focus on unpatched versions of these products. ↗
- ·On Debian-based Linux systems (using WebKitGTK), the issue is resolved in version 2.16.3-2 across all tracked releases (bookworm, bullseye, forky, sid, trixie). ↗
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.
Apple
CVE-2017-7040: tvOS 10.2.2
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: tvOS 10.2.2
Apple Security Update: About the security content of tvOS 10.2.2
Product: tvOS
Version: 10.2.2
CVE: CVE-2017-7040
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2017-7040: iOS 10.3.3
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: iOS 10.3.3
Apple Security Update: About the security content of iOS 10.3.3
Product: iOS
Version: 10.3.3
CVE: CVE-2017-7040
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2017-7040: iCloud for Windows 6.2.2
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: iCloud for Windows 6.2.2
Apple Security Update: About the security content of iCloud for Windows 6.2.2
Product: iCloud for Windows
Version: 6.2.2
CVE: CVE-2017-7040
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2017-7040: Safari 10.1.2
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: Safari 10.1.2
Apple Security Update: About the security content of Safari 10.1.2
Product: Safari
Version: 10.1.2
CVE: CVE-2017-7040
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2017-7040: iTunes 12.6.2 for Windows
vendor_apple·2017-07-19·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: iTunes 12.6.2 for Windows
Apple Security Update: About the security content of iTunes 12.6.2 for Windows
Product: iTunes 12.6.2 for Windows
CVE: CVE-2017-7040
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Debian
CVE-2017-7040: webkit2gtk - An issue was discovered in certain Apple products. iOS before 10.3.3 is affected...
vendor_debian·2017·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: webkit2gtk - An issue was discovered in certain Apple products. iOS before 10.3.3 is affected...
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. Safari before 10.1.2 is affected. iCloud before 6.2.2 on Windows is affected. iTunes before 12.6.2 on Windows is affected. tvOS before 10.2.2 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.
Scope: local
bookworm: resolved (fixed in 2.16.3-2)
bullseye: resolved (fixed in 2.16.3-2)
forky: resolved (fixed in 2.16.3-2)
sid: resolved (fixed in 2.16.3-2)
trixie: resolved (fixed in 2.16.3-2)
GHSA
GHSA-x43f-74x6-hgw5: An issue was discovered in certain Apple products
ghsa_unreviewed·2022-05-14
CVE-2017-7040 [HIGH] CWE-119 GHSA-x43f-74x6-hgw5: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. Safari before 10.1.2 is affected. iCloud before 6.2.2 on Windows is affected. iTunes before 12.6.2 on Windows is affected. tvOS before 10.2.2 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.
OSV
CVE-2017-7040: An issue was discovered in certain Apple products
osv·2017-07-20·CVSS 8.8
CVE-2017-7040 [HIGH] CVE-2017-7040: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 10.3.3 is affected. Safari before 10.1.2 is affected. iCloud before 6.2.2 on Windows is affected. iTunes before 12.6.2 on Windows is affected. tvOS before 10.2.2 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.
No detection rules found.
No writeups or analysis indexed.
http://www.securityfocus.com/bid/99885http://www.securitytracker.com/id/1038950https://security.gentoo.org/glsa/201710-14https://support.apple.com/HT207921https://support.apple.com/HT207923https://support.apple.com/HT207924https://support.apple.com/HT207927https://support.apple.com/HT207928https://www.exploit-db.com/exploits/42367/http://www.securityfocus.com/bid/99885http://www.securitytracker.com/id/1038950https://security.gentoo.org/glsa/201710-14https://support.apple.com/HT207921https://support.apple.com/HT207923https://support.apple.com/HT207924https://support.apple.com/HT207927https://support.apple.com/HT207928https://www.exploit-db.com/exploits/42367/
2017-07-20
Published