Search for vulnerabilities
Vulnerability ID | VCID-z25y-bsee-aaac |
Aliases |
CVE-2018-1000001
|
Summary | In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution. |
Status | Published |
Exploitability | 2.0 |
Weighted Severity | 8.0 |
Risk | 10.0 |
Affected and Fixed Packages | Package Details |
CWE-787 | Out-of-bounds Write |
CWE-122 | Heap-based Buffer Overflow |
Data source | Exploit-DB |
---|---|
Date added | Jan. 18, 2018 |
Description | glibc < 2.26 - 'getcwd()' Local Privilege Escalation |
Ransomware campaign use | Known |
Source publication date | Jan. 16, 2018 |
Exploit type | local |
Platform | linux |
Source update date | Nov. 17, 2018 |
Source URL | https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/RationalLove.c |
Data source | Metasploit |
---|---|
Description | This module attempts to gain root privileges on Linux systems by abusing a vulnerability in GNU C Library (glibc) version 2.26 and prior. This module uses halfdog's RationalLove exploit to exploit a buffer underflow in glibc realpath() and create a SUID root shell. The exploit has offsets for glibc versions 2.23-0ubuntu9 and 2.24-11+deb9u1. The target system must have unprivileged user namespaces enabled. This module has been tested successfully on Ubuntu Linux 16.04.3 (x86_64) with glibc version 2.23-0ubuntu9; and Debian 9.0 (x86_64) with glibc version 2.24-11+deb9u1. |
Note | AKA: - RationalLove.c |
Ransomware campaign use | Unknown |
Source publication date | Jan. 16, 2018 |
Platform | Linux |
Source URL | https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/linux/local/glibc_realpath_priv_esc.rb |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Exploitability (E) | Access Vector (AV) | Access Complexity (AC) | Authentication (Au) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|
high functional unproven proof_of_concept not_defined |
local adjacent_network network |
high medium low |
multiple single none |
none partial complete |
none partial complete |
none partial complete |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Percentile | 0.77372 |
EPSS Score | 0.00525 |
Published At | Nov. 1, 2024, midnight |
Date | Actor | Action | Source | VulnerableCode Version |
---|---|---|---|---|
There are no relevant records. |