Linux Kernel 3.3/3.3.1 cred.c copy_creds memory corruption

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.
7.2$0-$5k0.00

A vulnerability has been found in Linux Kernel 3.3/3.3.1 (Operating System) and classified as critical. This vulnerability affects the function copy_creds of the file cred.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect availability. CVE summarizes:

The copy_creds function in kernel/cred.c in the Linux kernel before 3.3.2 provides an invalid replacement session keyring to a child process, which allows local users to cause a denial of service (panic) via a crafted application that uses the fork system call.

The weakness was released 07/10/2012 with Beyond Security's SecuriTeam Secure Disclosure as RHSA-2012:1064-2 as confirmed advisory (Red Hat Security Advisory). The advisory is shared for download at rhn.redhat.com. This vulnerability was named CVE-2012-2745 since 05/14/2012. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 64179 (SuSE 11.2 Security Update : Linux kernel (SAT Patch Numbers 6923 / 6926 / 6931)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166783 (SUSE Enterprise Linux Security Update for Linux Kernel (SUSE-SU-2014:0287-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at rhn.redhat.com. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (76838) and Tenable (64179). Entries connected to this vulnerability are available at 5386, 5571, 5582 and 5655.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.2

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 64179
Nessus Name: SuSE 11.2 Security Update : Linux kernel (SAT Patch Numbers 6923 / 6926 / 6931)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 881073
OpenVAS Name: CentOS Update for kernel CESA-2012:1064 centos6
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: rhn.redhat.com

Timelineinfo

05/14/2012 🔍
07/10/2012 +57 days 🔍
07/10/2012 +0 days 🔍
07/10/2012 +0 days 🔍
07/10/2012 +0 days 🔍
07/10/2012 +0 days 🔍
07/10/2012 +0 days 🔍
07/12/2012 +2 days 🔍
07/19/2012 +7 days 🔍
08/09/2012 +21 days 🔍
08/21/2012 +12 days 🔍
01/25/2013 +157 days 🔍
03/26/2021 +2982 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2012:1064-2
Organization: Beyond Security's SecuriTeam Secure Disclosure
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-2745 (🔍)
OVAL: 🔍

X-Force: 76838
SecurityTracker: 1027236 - Linux Kernel Session Keyring Bug in copy_creds() Lets Local Users Deny Service
Vulnerability Center: 35948 - Linux Kernel Before 3.3.2 Local Denial of Service Vulnerability via a Crafted Application, Medium
SecurityFocus: 54365 - Linux Kernel Key Management CVE-2012-2745 Denial of Service Vulnerability
Secunia: 49778 - Red Hat update for kernel, Moderately Critical
OSVDB: 83666

See also: 🔍

Entryinfo

Created: 07/19/2012 15:47
Updated: 03/26/2021 09:35
Changes: 07/19/2012 15:47 (77), 04/16/2017 10:38 (14), 03/26/2021 09:35 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!