GNU C Library up to 2.26 elf/dl-load.c $ORIGIN untrusted search path

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

Summaryinfo

A vulnerability, which was classified as problematic, has been found in GNU C Library up to 2.26. Affected is an unknown function of the file elf/dl-load.c. Performing a manipulation of the argument $ORIGIN results in untrusted search path. This vulnerability is cataloged as CVE-2017-16997. The attack must be initiated from a local position. There is no exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in GNU C Library up to 2.26 (Software Library). It has been classified as problematic. This affects an unknown functionality of the file elf/dl-load.c. The manipulation of the argument $ORIGIN with an unknown input leads to a untrusted search path vulnerability. CWE is classifying the issue as CWE-426. The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the "./" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution.

The bug was discovered 12/17/2017. The weakness was shared 12/18/2017 (Website). The advisory is shared at bugs.debian.org. This vulnerability is uniquely identified as CVE-2017-16997 since 11/27/2017. An attack has to be approached locally. The successful exploitation needs a authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1574 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 106279 (Fedora 27 : glibc (2018-7714b514e2)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237016 (Red Hat Update for glibc (RHSA-2018:3092)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (106279) and SecurityFocus (BID 102228†). The entries VDB-112733, VDB-117986, VDB-117987 and VDB-133498 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

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

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

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Untrusted search path
CWE: CWE-426
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: 106279
Nessus Name: Fedora 27 : glibc (2018-7714b514e2)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 841108
OpenVAS Name: SuSE Update for glibc openSUSE-SU-2018:0089-1 (glibc)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

11/27/2017 🔍
12/17/2017 +20 days 🔍
12/17/2017 +0 days 🔍
12/17/2017 +0 days 🔍
12/18/2017 +1 days 🔍
12/18/2017 +0 days 🔍
01/23/2018 +36 days 🔍
01/24/2018 +1 days 🔍
01/18/2023 +1820 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: FEDORA-2018-7714b514e2
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-16997 (🔍)
GCVE (CVE): GCVE-0-2017-16997
GCVE (VulDB): GCVE-100-110769
SecurityFocus: 102228 - GNU C Library 'elf/dl-load.c ' CVE-2017-16997 Local Privilege Escalation Vulnerability

See also: 🔍

Entryinfo

Created: 12/18/2017 10:39
Updated: 01/18/2023 10:03
Changes: 12/18/2017 10:39 (75), 12/15/2019 20:02 (6), 01/18/2023 09:59 (4), 01/18/2023 10:03 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

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!