vendor:
WebKit
by:
Project Zero
8,8
CVSS
HIGH
Out-of-Bounds Write
787
CWE
Product Name: WebKit
Affected Version From: WebKit prior to version 12.1
Affected Version To: WebKit version 12.1
Patch Exists: YES
Related CWE: CVE-2018-4233
CPE: a:webkit:webkit
Metasploit:
https://www.rapid7.com/db/vulnerabilities/ubuntu-cve-2018-4233/, https://www.rapid7.com/db/vulnerabilities/suse-cve-2018-4233/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2018-4233/, https://www.rapid7.com/db/vulnerabilities/oracle-solaris-cve-2018-4233/, https://www.rapid7.com/db/vulnerabilities/apple-itunes-cve-2018-4233/, https://www.rapid7.com/db/vulnerabilities/apple-safari-cve-2018-4233/, https://www.rapid7.com/db/modules/exploit/apple_ios/browser/webkit_createthis/, https://www.rapid7.com/db/modules/exploit/osx/browser/safari_proxy_object_type_confusion/
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: All
2018
Out-of-Bounds Write in tryCreateArrayButterfly()
tryCreateArrayButterfly() is a function in the JavaScriptCore library of WebKit which is used to create a JSArray object. It allocates a fixed size of memory without caring about the initialLength parameter. This can lead to an Out-of-Bounds Write vulnerability when the initialLength is greater than the fixed size. A proof-of-concept exploit is provided which uses the Intl.getCanonicalLocales() function to trigger the vulnerability.
Mitigation:
Upgrade to the latest version of WebKit