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

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Untrusted search pathCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
11/27/2017 🔍12/17/2017 🔍
12/17/2017 🔍
12/17/2017 🔍
12/18/2017 🔍
12/18/2017 🔍
01/23/2018 🔍
01/24/2018 🔍
01/18/2023 🔍
Sources
Vendor: gnu.orgAdvisory: 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: 🔍
Entry
Created: 12/18/2017 10:39Updated: 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.
No comments yet. Languages: en.
Please log in to comment.