GNU C Library nss_files Backend files-XXX.c 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.1$0-$5k0.00

Summaryinfo

A vulnerability was found in GNU C Library. It has been declared as problematic. Affected by this issue is some unknown functionality of the file nss/nss_files/files-XXX.c of the component nss_files Backend. The manipulation results in memory corruption. This vulnerability is cataloged as CVE-2015-5277. There is no exploit available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability classified as problematic has been found in GNU C Library (Software Library) (version now known). Affected is some unknown processing of the file nss/nss_files/files-XXX.c of the component nss_files Backend. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was shared 06/23/2014 with Red Hat as confirmed git commit (GIT Repository). The advisory is shared for download at sourceware.org. This vulnerability is traded as CVE-2015-5277 since 07/01/2015. The attack needs to be approached locally. Required for exploitation is a authentication. There are known technical details, but no exploit is available. The reason for this vulnerability is this part of code:

char *p = fgets_unlocked (curbuf, curlen, stream);

The vulnerability scanner Nessus provides a plugin with the ID 87343 (Amazon Linux AMI : glibc (ALAS-2015-617)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196484 (Ubuntu Security Notification for Eglibc, Glibc Vulnerabilities (USN-2985-1)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at sourceware.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

/* Terminate the line so that we can test for overflow.  */
((unsigned char *) curbuf)[curlen - 1] = 0xff;
 
char *p = fgets_unlocked (curbuf, curlen, stream);

The vulnerability is also documented in the databases at Tenable (87343), SecurityFocus (BID 78092†) and SecurityTracker (ID 1034196†). The entries VDB-10583, VDB-73929, VDB-75092 and VDB-80610 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: 87343
Nessus Name: Amazon Linux AMI : glibc (ALAS-2015-617)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2015-617
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: sourceware.org

Timelineinfo

06/23/2014 🔍
06/23/2014 +0 days 🔍
07/01/2015 +372 days 🔍
10/18/2015 +109 days 🔍
11/20/2015 +33 days 🔍
11/27/2015 +7 days 🔍
12/14/2015 +17 days 🔍
12/17/2015 +2 days 🔍
06/28/2022 +2385 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: USN-2985-1
Organization: Red Hat
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-5277 (🔍)
GCVE (CVE): GCVE-0-2015-5277
GCVE (VulDB): GCVE-100-79344
SecurityFocus: 78092 - GNU glibc CVE-2015-5277 Local Heap Based Buffer Overflow Vulnerability
SecurityTracker: 1034196

See also: 🔍

Entryinfo

Created: 11/27/2015 12:02
Updated: 06/28/2022 08:30
Changes: 11/27/2015 12:02 (61), 09/25/2018 12:58 (16), 06/28/2022 08:27 (4), 06/28/2022 08:30 (1)
Complete: 🔍
Cache ID: 216:76B:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!