Linux-PAM up to 1.1.4 _assemble_line 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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux-PAM. It has been classified as problematic. Affected by this issue is the function _assemble_line. This manipulation causes memory corruption. This vulnerability is handled as CVE-2011-3148. There is not any exploit available. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability classified as problematic was found in Linux-PAM. Affected by this vulnerability is the function _assemble_line. 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 confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux-PAM (aka pam) before 1.1.5 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long string of white spaces at the beginning of the ~/.pam_environment file.

The weakness was released 07/22/2012 as confirmed git commit (GIT Repository). The advisory is shared at git.fedorahosted.org. This vulnerability is known as CVE-2011-3148. The exploitation appears to be easy. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 69719 (Amazon Linux AMI : pam (ALAS-2013-160)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350586 (Amazon Linux Security Advisory for pam: ALAS-2013-160).

Upgrading to version 0.99.7.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.fedorahosted.org. The best possible mitigation is suggested to be patching the affected component. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 11437.

The vulnerability is also documented in the databases at X-Force (70935), Tenable (69719), SecurityFocus (BID 50343†) and Vulnerability Center (SBV-33654†). Entries connected to this vulnerability are available at VDB-61382 and VDB-69363. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.7

VulDB Base Score: 5.9
VulDB Temp Score: 5.7
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: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 69719
Nessus Name: Amazon Linux AMI : pam (ALAS-2013-160)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 70541
OpenVAS Name: Debian Security Advisory DSA 2326-1 (pam)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Linux-PAM 0.99.7.0
Patch: caf5e7f61c8d9288daa49b4f61962e6b1239121d
TippingPoint: 🔍

Timelineinfo

08/16/2011 🔍
10/14/2011 +59 days 🔍
10/24/2011 +10 days 🔍
10/31/2011 +7 days 🔍
07/22/2012 +265 days 🔍
07/22/2012 +0 days 🔍
09/04/2013 +409 days 🔍
03/23/2015 +565 days 🔍
12/06/2021 +2450 days 🔍

Sourcesinfo

Advisory: RHSA-2013:0521
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2011-3148 (🔍)
GCVE (CVE): GCVE-0-2011-3148
GCVE (VulDB): GCVE-100-61381

OVAL: 🔍

X-Force: 70935
SecurityFocus: 50343 - Linux-PAM 'pam_env' Module Multiple Local Privilege Escalation Vulnerabilities
Secunia: 46583
Vulnerability Center: 33654 - Linux-PAM 1.1.2 and Earlier \x27pam_env\x27 Modules Local Privilege Escalation, Medium

See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 12/06/2021 18:57
Changes: 03/23/2015 16:50 (65), 04/04/2017 11:30 (9), 12/06/2021 18:51 (7), 12/06/2021 18:57 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!