CVE-2012-3748 : Detail

CVE-2012-3748

31.79%V3
Network
2012-11-03
16h00 +00:00
2013-02-02
09h00 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Race condition in WebKit in Apple iOS before 6.0.1 and Safari before 6.0.2 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving JavaScript arrays.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

Metrics

Metrics Score Severity CVSS Vector Source
V2 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 28081

Publication date : 2013-09-03 22h00 +00:00
Author : Vitaliy Toropov
EDB Verified : No

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +------------------------------------------------------------------------------+ | Packet Storm Advisory 2013-0903-1 | | http://packetstormsecurity.com/ | +------------------------------------------------------------------------------+ | Title: Apple Safari Heap Buffer Overflow | +--------------------+---------------------------------------------------------+ | Release Date | 2013/09/03 | | Advisory Contact | Packet Storm ([email protected]) | | Researcher | Vitaliy Toropov | +--------------------+---------------------------------------------------------+ | System Affected | Apple Safari | | Versions Affected | 6.0.1 for iOS 6.0 and OS X 10.7/8, possibly earlier | | Related Advisory | APPLE-SA-2012-11-01-2 | | Related CVE Number | CVE-2012-3748 | | Vendor Patched | 2012/11/01 | | Classification | 1-day | +--------------------+---------------------------------------------------------+ +----------+ | OVERVIEW | +----------+ The release of this advisory provides exploitation details in relation to a known patched vulnerability in Apple Safari. These details were obtained through the Packet Storm Bug Bounty program and are being released to the community. +------------------------------------------------------------------------------+ +---------+ | DETAILS | +---------+ The heap memory buffer overflow vulnerability exists within the WebKit's JavaScriptCore JSArray::sort(...) method. This method accepts the user-defined JavaScript function and calls it from the native code to compare array items. If this compare function reduces array length, then the trailing array items will be written outside the "m_storage->m_vector[]" buffer, which leads to the heap memory corruption. The exploit for this vulnerability is a JavaScript code which shows how to use it for memory corruption of internal JS objects (Unit32Array and etc.) and subsequent arbitrary code execution (custom ARM/x64 payloads can be pasted into the JS code). +------------------------------------------------------------------------------+ +------------------+ | PROOF OF CONCEPT | +------------------+ The full exploit code is available here: http://packetstormsecurity.com/files/123088/ https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/28081.tgz +------------------------------------------------------------------------------+ +---------------+ | RELATED LINKS | +---------------+ http://lists.apple.com/archives/security-announce/2012/Nov/msg00001.html http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-3748 +------------------------------------------------------------------------------+ +----------------+ | SHAMELESS PLUG | +----------------+ The Packet Storm Bug Bounty program gives researchers the ability to profit from their discoveries. You can get paid thousands of dollars for one day and zero day exploits. Get involved by contacting us at [email protected] or visit the bug bounty page at: http://packetstormsecurity.com/bugbounty/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEARECAAYFAlImrisACgkQrM7A8W0gTbHnIwCfR6vCe/+YjbxYoeHaErbHYDsN bC0An34R0Am9RemKiIDnoa+hD3pT+M0y =VXyD -----END PGP SIGNATURE-----

Products Mentioned

Configuraton 0

Apple>>Safari >> Version To (including) 6.0.1

Apple>>Safari >> Version 1.0

Apple>>Safari >> Version 1.0

Apple>>Safari >> Version 1.0.0

Apple>>Safari >> Version 1.0.0b1

Apple>>Safari >> Version 1.0.0b2

Apple>>Safari >> Version 1.0.1

Apple>>Safari >> Version 1.0.2

Apple>>Safari >> Version 1.0.3

Apple>>Safari >> Version 1.1.0

Apple>>Safari >> Version 1.1.1

Apple>>Safari >> Version 1.2.0

Apple>>Safari >> Version 1.2.1

Apple>>Safari >> Version 1.2.2

Apple>>Safari >> Version 1.2.3

Apple>>Safari >> Version 1.2.4

Apple>>Safari >> Version 1.2.5

Apple>>Safari >> Version 1.3

Apple>>Safari >> Version 1.3.0

Apple>>Safari >> Version 1.3.1

Apple>>Safari >> Version 1.3.2

Apple>>Safari >> Version 2.0.0

Apple>>Safari >> Version 2.0.1

Apple>>Safari >> Version 2.0.2

Apple>>Safari >> Version 2.0.3

Apple>>Safari >> Version 2.0.4

Apple>>Safari >> Version 3.0.0

Apple>>Safari >> Version 3.0.0b

Apple>>Safari >> Version 3.0.1

Apple>>Safari >> Version 3.0.1

Apple>>Safari >> Version 3.0.1b

Apple>>Safari >> Version 3.0.2

Apple>>Safari >> Version 3.0.2b

Apple>>Safari >> Version 3.0.3

Apple>>Safari >> Version 3.0.3b

Apple>>Safari >> Version 3.0.4

Apple>>Safari >> Version 3.0.4b

Apple>>Safari >> Version 3.1.0

Apple>>Safari >> Version 3.1.0b

Apple>>Safari >> Version 3.1.1

Apple>>Safari >> Version 3.1.2

Apple>>Safari >> Version 3.2.0

Apple>>Safari >> Version 3.2.1

Apple>>Safari >> Version 3.2.2

Apple>>Safari >> Version 4.0

Apple>>Safari >> Version 4.0

Apple>>Safari >> Version 4.0.0b

Apple>>Safari >> Version 4.0.1

Apple>>Safari >> Version 4.0.2

Apple>>Safari >> Version 4.0.3

Apple>>Safari >> Version 4.0.4

Apple>>Safari >> Version 4.0.5

Apple>>Safari >> Version 4.1

Apple>>Safari >> Version 4.1.1

Apple>>Safari >> Version 4.1.2

Apple>>Safari >> Version 5.0

Apple>>Safari >> Version 5.0.1

Apple>>Safari >> Version 5.0.2

Apple>>Safari >> Version 5.0.4

Apple>>Safari >> Version 5.0.5

Apple>>Safari >> Version 5.0.6

Apple>>Safari >> Version 5.1

Apple>>Safari >> Version 5.1.1

Apple>>Safari >> Version 5.1.2

Apple>>Safari >> Version 5.1.3

Apple>>Safari >> Version 5.1.4

Apple>>Safari >> Version 5.1.5

Apple>>Safari >> Version 5.1.6

Apple>>Safari >> Version 5.1.7

Apple>>Safari >> Version 6.0

Configuraton 0

Apple>>Iphone_os >> Version To (including) 6.0

Apple>>Iphone_os >> Version 1.0.0

Apple>>Iphone_os >> Version 1.0.1

Apple>>Iphone_os >> Version 1.0.2

Apple>>Iphone_os >> Version 1.1.0

Apple>>Iphone_os >> Version 1.1.1

Apple>>Iphone_os >> Version 1.1.2

Apple>>Iphone_os >> Version 1.1.3

Apple>>Iphone_os >> Version 1.1.4

Apple>>Iphone_os >> Version 1.1.5

Apple>>Iphone_os >> Version 2.0

Apple>>Iphone_os >> Version 2.0.0

Apple>>Iphone_os >> Version 2.0.1

Apple>>Iphone_os >> Version 2.0.2

Apple>>Iphone_os >> Version 2.1

Apple>>Iphone_os >> Version 2.1.1

Apple>>Iphone_os >> Version 2.2

Apple>>Iphone_os >> Version 2.2.1

Apple>>Iphone_os >> Version 3.0

Apple>>Iphone_os >> Version 3.0.1

Apple>>Iphone_os >> Version 3.1

Apple>>Iphone_os >> Version 3.1.2

Apple>>Iphone_os >> Version 3.1.3

Apple>>Iphone_os >> Version 3.2

Apple>>Iphone_os >> Version 3.2.1

Apple>>Iphone_os >> Version 3.2.2

Apple>>Iphone_os >> Version 4.0

Apple>>Iphone_os >> Version 4.0.1

Apple>>Iphone_os >> Version 4.0.2

Apple>>Iphone_os >> Version 4.1

Apple>>Iphone_os >> Version 4.2.1

Apple>>Iphone_os >> Version 4.2.5

Apple>>Iphone_os >> Version 4.2.8

Apple>>Iphone_os >> Version 4.3.0

Apple>>Iphone_os >> Version 4.3.1

Apple>>Iphone_os >> Version 4.3.2

Apple>>Iphone_os >> Version 4.3.3

Apple>>Iphone_os >> Version 4.3.5

Apple>>Iphone_os >> Version 5.0

Apple>>Iphone_os >> Version 5.0.1

Apple>>Iphone_os >> Version 5.1.1

References

http://secunia.com/advisories/51445
Tags : third-party-advisory, x_refsource_SECUNIA
http://support.apple.com/kb/HT5567
Tags : x_refsource_CONFIRM
http://support.apple.com/kb/HT5921
Tags : x_refsource_CONFIRM
http://www.securityfocus.com/bid/56362
Tags : vdb-entry, x_refsource_BID
http://support.apple.com/kb/HT5568
Tags : x_refsource_CONFIRM
http://support.apple.com/kb/HT5598
Tags : x_refsource_CONFIRM