Apple Mac OS X up to 10.8.3 Setuid stack_protector.c RANDOM_HEX_STR stack-guard input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.5$5k-$25k0.00

Summaryinfo

A vulnerability classified as critical has been found in Apple Mac OS X up to 10.8.3. The affected element is the function RANDOM_HEX_STR of the file sys/openbsd/stack_protector.c of the component Setuid. Performing a manipulation of the argument stack-guard results in input validation. This vulnerability is known as CVE-2013-3951. No exploit is available.

Detailsinfo

A vulnerability was found in Apple Mac OS X up to 10.8.3 (Operating System). It has been classified as critical. This affects the function RANDOM_HEX_STR of the file sys/openbsd/stack_protector.c of the component Setuid. The manipulation of the argument stack-guard with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:

sys/openbsd/stack_protector.c in libc in Apple iOS 6.1.3 and Mac OS X 10.8.x does not properly parse the Apple strings employed in the user-space stack-cookie implementation, which allows local users to bypass cookie randomization by executing a program with a call-path beginning with the stack-guard= substring, as demonstrated by an iOS untethering attack or an attack against a setuid Mac OS X program.

The weakness was published 04/26/2013 by Stefan Esser with SektionEins GmbH as not defined article (Website). It is possible to read the advisory at antid0te.com. The vendor was not involved in the public release. This vulnerability is uniquely identified as CVE-2013-3951 since 06/05/2013. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 11/21/2024).

The vulnerability scanner Nessus provides a plugin with the ID 86270 (Mac OS X < 10.11 Multiple Vulnerabilities (GHOST)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370192 (Apple Mac OS X v10.11 Not Installed (APPLE-SA-2015-09-30-3)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (84809), Tenable (86270), SecurityFocus (BID 60440†), OSVDB (93960†) and Vulnerability Center (SBV-47680†). Similar entries are available at VDB-9013, VDB-9014, VDB-9016 and VDB-9017. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Support

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.5

VulDB Base Score: 6.5
VulDB Temp Score: 6.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 86270
Nessus Name: Mac OS X < 10.11 Multiple Vulnerabilities (GHOST)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 801105
OpenVAS Name: Apple Mac OS X Multiple Vulnerabilities - 01 Jan14
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

04/26/2013 🔍
04/26/2013 +0 days 🔍
04/26/2013 +0 days 🔍
06/05/2013 +40 days 🔍
06/05/2013 +0 days 🔍
06/07/2013 +2 days 🔍
12/17/2014 +558 days 🔍
11/21/2024 +3627 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: antid0te.com
Researcher: Stefan Esser
Organization: SektionEins GmbH
Status: Not defined
Confirmation: 🔍

CVE: CVE-2013-3951 (🔍)
GCVE (CVE): GCVE-0-2013-3951
GCVE (VulDB): GCVE-100-9015
X-Force: 84809
SecurityFocus: 60440 - Apple iOS User Space Stack Cookies CVE-2013-3951 Local Security Bypass Vulnerability
OSVDB: 93960
SecurityTracker: 1033703
Vulnerability Center: 47680 - Apple iOS 6.1.3 and Mac OS X 10.8.x Local Security Bypass Vulnerability, Medium

scip Labs: https://www.scip.ch/en/?labs.20150108
See also: 🔍

Entryinfo

Created: 06/07/2013 17:59
Updated: 11/21/2024 17:42
Changes: 06/07/2013 17:59 (65), 06/15/2017 11:42 (11), 05/14/2021 12:34 (3), 05/14/2021 12:42 (1), 11/21/2024 17:42 (16)
Complete: 🔍
Committer:
Cache ID: 216:210:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!