Vulnerabilities > CVE-2012-3748 - Race Condition vulnerability in Apple Safari
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
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.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging Race Conditions This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
- Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
Exploit-Db
description | Apple Safari 6.0.1 for iOS 6.0 and OS X 10.7/8 - Heap Buffer Overflow. CVE-2012-3748. Remote exploit for ios platform |
id | EDB-ID:28081 |
last seen | 2016-02-03 |
modified | 2013-09-04 |
published | 2013-09-04 |
reporter | Vitaliy Toropov |
source | https://www.exploit-db.com/download/28081/ |
title | Apple Safari 6.0.1 for iOS 6.0 and OS X 10.7/8 - Heap Buffer Overflow |
Nessus
NASL family Windows NASL id ITUNES_11_0_3.NASL description The version of Apple iTunes installed on the remote Windows host is older than 11.0.3. It therefore is potentially affected by several issues : - An error exists related to certificate validation that could allow disclosure of sensitive information and could allow the application to trust data from untrusted sources. (CVE-2013-1014) - The included version of WebKit contains several errors that could lead to memory corruption and possibly arbitrary code execution. The vendor notes one possible attack vector is a man-in-the-middle attack while the application browses the last seen 2020-06-01 modified 2020-06-02 plugin id 66498 published 2013-05-17 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/66498 title Apple iTunes < 11.0.3 Multiple Vulnerabilities (credentialed check) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(66498); script_version("1.14"); script_cvs_date("Date: 2019/11/27"); script_cve_id( "CVE-2012-2824", "CVE-2012-2857", "CVE-2012-3748", "CVE-2012-5112", "CVE-2013-0879", "CVE-2013-0912", "CVE-2013-0948", "CVE-2013-0949", "CVE-2013-0950", "CVE-2013-0951", "CVE-2013-0952", "CVE-2013-0953", "CVE-2013-0954", "CVE-2013-0955", "CVE-2013-0956", "CVE-2013-0958", "CVE-2013-0959", "CVE-2013-0960", "CVE-2013-0961", "CVE-2013-0991", "CVE-2013-0992", "CVE-2013-0993", "CVE-2013-0994", "CVE-2013-0995", "CVE-2013-0996", "CVE-2013-0997", "CVE-2013-0998", "CVE-2013-0999", "CVE-2013-1000", "CVE-2013-1001", "CVE-2013-1002", "CVE-2013-1003", "CVE-2013-1004", "CVE-2013-1005", "CVE-2013-1006", "CVE-2013-1007", "CVE-2013-1008", "CVE-2013-1010", "CVE-2013-1011", "CVE-2013-1014" ); script_bugtraq_id( 54203, 54749, 55867, 56362, 57576, 57580, 57581, 57582, 57584, 57585, 57586, 57587, 57588, 57589, 57590, 58388, 58495, 58496, 59941, 59944, 59953, 59954, 59955, 59956, 59957, 59958, 59959, 59960, 59963, 59964, 59965, 59967, 59970, 59971, 59972, 59973, 59974, 59976, 59977 ); script_xref(name:"EDB-ID", value:"28081"); script_name(english:"Apple iTunes < 11.0.3 Multiple Vulnerabilities (credentialed check)"); script_summary(english:"Checks version of iTunes on Windows"); script_set_attribute(attribute:"synopsis", value: "The remote host contains an application that has multiple vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of Apple iTunes installed on the remote Windows host is older than 11.0.3. It therefore is potentially affected by several issues : - An error exists related to certificate validation that could allow disclosure of sensitive information and could allow the application to trust data from untrusted sources. (CVE-2013-1014) - The included version of WebKit contains several errors that could lead to memory corruption and possibly arbitrary code execution. The vendor notes one possible attack vector is a man-in-the-middle attack while the application browses the 'iTunes Store'. (CVE-2012-2824, CVE-2012-2857, CVE-2012-3748, CVE-2012-5112, CVE-2013-0879, CVE-2013-0912, CVE-2013-0948, CVE-2013-0949, CVE-2013-0950, CVE-2013-0951, CVE-2013-0952, CVE-2013-0953, CVE-2013-0954, CVE-2013-0955, CVE-2013-0956, CVE-2013-0958, CVE-2013-0959, CVE-2013-0960, CVE-2013-0961, CVE-2013-0991, CVE-2013-0992, CVE-2013-0993, CVE-2013-0994, CVE-2013-0995, CVE-2013-0996, CVE-2013-0997, CVE-2013-0998, CVE-2013-0999, CVE-2013-1000, CVE-2013-1001, CVE-2013-1002, CVE-2013-1003, CVE-2013-1004, CVE-2013-1005, CVE-2013-1006, CVE-2013-1007, CVE-2013-1008, CVE-2013-1010, CVE-2013-1011)"); script_set_attribute(attribute:"see_also", value:"http://www.zerodayinitiative.com/advisories/ZDI-13-107/"); script_set_attribute(attribute:"see_also", value:"http://www.zerodayinitiative.com/advisories/ZDI-13-108/"); script_set_attribute(attribute:"see_also", value:"http://www.zerodayinitiative.com/advisories/ZDI-13-109/"); script_set_attribute(attribute:"see_also", value:"http://support.apple.com/kb/HT5766"); script_set_attribute(attribute:"see_also", value:"http://lists.apple.com/archives/security-announce/2013/May/msg00000.html"); script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/526623/30/0/threaded"); script_set_attribute(attribute:"solution", value: "Upgrade to Apple iTunes 11.0.3 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-5112"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploited_by_malware", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2013/05/16"); script_set_attribute(attribute:"patch_publication_date", value:"2013/05/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/05/17"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:itunes"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("itunes_detect.nasl"); script_require_keys("SMB/iTunes/Version"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); version = get_kb_item_or_exit("SMB/iTunes/Version"); fixed_version = "11.0.3.42"; path = get_kb_item_or_exit("SMB/iTunes/Path"); if (ver_compare(ver:version, fix:fixed_version) == -1) { port = get_kb_item("SMB/transport"); if (!port) port = 445; if (report_verbosity > 0) { report = '\n Path : '+path+ '\n Installed version : '+version+ '\n Fixed version : '+fixed_version+'\n'; security_hole(port:port, extra:report); } else security_hole(port); } else audit(AUDIT_INST_PATH_NOT_VULN, "iTunes", version, path);
NASL family MacOS X Local Security Checks NASL id MACOSX_SAFARI6_0_2.NASL description The version of Apple Safari installed on the remote Mac OS X host is earlier than 6.0.2. It is, therefore, potentially affected by several issues : - A time-of-check-to-time-of-use issue in the handling of JavaScript array in WebKit could lead to arbitrary, remote code execution. (CVE-2012-3748) - A use-after-free issue in the handling of SVG images in WebKit code could lead to arbitrary, remote code execution. (CVE-2012-5112) last seen 2020-06-01 modified 2020-06-02 plugin id 62802 published 2012-11-02 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/62802 title Mac OS X : Apple Safari < 6.0.2 Multiple Vulnerabilities NASL family MacOS X Local Security Checks NASL id MACOSX_SAFARI5_1_10.NASL description The version of Apple Safari installed on the remote Mac OS X 10.6 host is earlier than 5.1.10. It is, therefore, potentially affected by two memory corruption vulnerabilities in JavaScriptCore last seen 2020-06-01 modified 2020-06-02 plugin id 69879 published 2013-09-13 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/69879 title Mac OS X : Apple Safari < 5.1.10 Memory Corruptions NASL family Peer-To-Peer File Sharing NASL id ITUNES_11_0_3_BANNER.NASL description The version of Apple iTunes on the remote host is prior to version 11.0.3. It is, therefore, affected by multiple vulnerabilities : - An error exists related to certificate validation. A man-in-the-middle attacker can exploit this to spoof HTTPS servers, which allows the disclosure of sensitive information or the application to trust data from untrusted sources. Note that this issue affects the application regardless of the operating system. (CVE-2013-1014) - The version of WebKit included in iTunes contains several errors that can lead to memory corruption and arbitrary code execution. The vendor states that one possible vector is a man-in-the-middle attack while the application browses the last seen 2020-06-01 modified 2020-06-02 plugin id 66499 published 2013-05-17 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/66499 title Apple iTunes < 11.0.3 Multiple Vulnerabilities (uncredentialed check)
Seebug
bulletinFamily | exploit |
description | No description provided by source. |
id | SSV:81662 |
last seen | 2017-11-19 |
modified | 2014-07-01 |
published | 2014-07-01 |
reporter | Root |
source | https://www.seebug.org/vuldb/ssvid-81662 |
title | Apple Safari 6.0.1 for iOS 6.0 and OS X 10.7/8 - Heap Buffer Overflow |
References
- http://archives.neohapsis.com/archives/bugtraq/2012-11/0012.html
- http://archives.neohapsis.com/archives/bugtraq/2012-11/0012.html
- http://archives.neohapsis.com/archives/bugtraq/2012-11/0013.html
- http://archives.neohapsis.com/archives/bugtraq/2012-11/0013.html
- http://lists.apple.com/archives/security-announce/2012/Nov/msg00000.html
- http://lists.apple.com/archives/security-announce/2012/Nov/msg00000.html
- http://lists.apple.com/archives/security-announce/2012/Nov/msg00001.html
- http://lists.apple.com/archives/security-announce/2012/Nov/msg00001.html
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00003.html
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00003.html
- http://secunia.com/advisories/51445
- http://secunia.com/advisories/51445
- http://support.apple.com/kb/HT5567
- http://support.apple.com/kb/HT5567
- http://support.apple.com/kb/HT5568
- http://support.apple.com/kb/HT5568
- http://support.apple.com/kb/HT5598
- http://support.apple.com/kb/HT5598
- http://support.apple.com/kb/HT5921
- http://support.apple.com/kb/HT5921
- http://www.securityfocus.com/bid/56362
- http://www.securityfocus.com/bid/56362