GNU readline up to 6.3 Trace util.c _rl_tropen link following

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

Summaryinfo

A vulnerability categorized as problematic has been discovered in GNU readline up to 6.3. Impacted is the function _rl_tropen of the file util.c of the component Trace. The manipulation results in link following. This vulnerability is known as CVE-2014-2524. No exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in GNU readline up to 6.3. Affected is the function _rl_tropen of the file util.c of the component Trace. The manipulation with an unknown input leads to a link following vulnerability. CWE is classifying the issue as CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. This is going to have an impact on integrity, and availability. CVE summarizes:

The _rl_tropen function in util.c in GNU readline before 6.3 patch 3 allows local users to create or overwrite arbitrary files via a symlink attack on a /var/tmp/rltrace.[PID] file.

The weakness was published 08/20/2014 by Steve Kemp (Website). The advisory is shared for download at lists.gnu.org. This vulnerability is traded as CVE-2014-2524 since 03/17/2014. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 78300 (Amazon Linux AMI : readline (ALAS-2014-357)), 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 167256 (OpenSuSE Security Update for bash (openSUSE-SU-2014:1226-1) (Shellshock)).

Upgrading to version 2.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (93759), Tenable (78300), SecurityFocus (BID 66369†) and Vulnerability Center (SBV-45052†). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 4.9

VulDB Base Score: 5.1
VulDB Temp Score: 4.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Link following
CWE: CWE-59
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: 78300
Nessus Name: Amazon Linux AMI : readline (ALAS-2014-357)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: readline 2.2

Timelineinfo

03/14/2014 🔍
03/14/2014 +0 days 🔍
03/17/2014 +3 days 🔍
06/18/2014 +93 days 🔍
08/20/2014 +63 days 🔍
08/20/2014 +0 days 🔍
10/12/2014 +53 days 🔍
03/26/2015 +165 days 🔍
03/28/2022 +2559 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: lists.gnu.org
Researcher: Steve Kemp
Status: Not defined
Confirmation: 🔍

CVE: CVE-2014-2524 (🔍)
GCVE (CVE): GCVE-0-2014-2524
GCVE (VulDB): GCVE-100-70680
X-Force: 93759
SecurityFocus: 66369 - GNU Readline '_rl_tropen()' Insecure Temporary File Handling Vulnerability
Vulnerability Center: 45052 - readline 6.3 Local Symbolic Link Attacks in _rl_tropen(), Low

Entryinfo

Created: 03/26/2015 12:07
Updated: 03/28/2022 10:13
Changes: 03/26/2015 12:07 (66), 05/31/2017 08:51 (5), 03/28/2022 10:13 (3)
Complete: 🔍
Cache ID: 216:57C:103

Discussion

Do you need the next level of professionalism?

Upgrade your account now!