7.8
HIGH
CVE-2018-1000001
Apache glibc Dir-traversal Buffer Overflow
Description

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.

INFO

Published Date :

Jan. 31, 2018, 2:29 p.m.

Last Modified :

Oct. 3, 2019, 12:03 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2018-1000001 has a 13 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-1000001 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_server_tus
7 Redhat virtualization_host
1 Canonical ubuntu_linux
1 Gnu glibc
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-1000001.

URL Resource
http://seclists.org/oss-sec/2018/q1/38 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/102525 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040162 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:0805 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190404-0003/
https://usn.ubuntu.com/3534-1/ Third Party Advisory
https://usn.ubuntu.com/3536-1/ Third Party Advisory
https://www.exploit-db.com/exploits/43775/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/44889/ Exploit Third Party Advisory VDB Entry
https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 1 month, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 weeks, 4 days ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 weeks ago
88 stars 13 fork 13 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

Tools for get offsets and adding patch for support i386

security cve cve-2018-1000001

Makefile C++

Updated: 2 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : March 1, 2022, 9:27 p.m. This repo has been linked 1 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 2 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2021, 9:46 a.m. This repo has been linked 56 different CVEs too.

Linux Eelvation(持续更新)

cve-2021-3156 cve-2019-7304 cve-2019-13272 cve-2018-18955 cve-2018-1000001 cve-2018-17182 cve-2017-1000367 cve-2017-1000112 cve-2017-16995 cve-2017-16939 linux-kernel elevation cve-2021-4034 cve-2022-0847

C Shell Python Ruby Makefile HTML

Updated: 2 weeks, 6 days ago
390 stars 92 fork 92 watcher
Born at : March 30, 2021, 7:09 a.m. This repo has been linked 72 different CVEs too.

None

Python Makefile C++ C

Updated: 1 year, 3 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 2, 2020, 11:21 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 month ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Localroot-ALL-CVE~

localroot cheatsheet security kernel linux exploits cve linux-privilege-escalation cybersecurity infosec pentesting

C Shell Python Ruby Makefile HTML Perl Batchfile

Updated: 2 weeks, 4 days ago
123 stars 46 fork 46 watcher
Born at : Feb. 2, 2020, 6:25 a.m. This repo has been linked 93 different CVEs too.

Localroot Compile

C Shell Python

Updated: 1 month ago
24 stars 24 fork 24 watcher
Born at : Aug. 1, 2019, 11:25 a.m. This repo has been linked 31 different CVEs too.

None

Python HTML PHP

Updated: 5 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : July 8, 2019, 10:35 a.m. This repo has been linked 1 different CVEs too.

The Big list of the github, open-source compilers.

github compiler compilers compiler-design compiler-designs compiler-tool compiler-plugin github-list github-bot github-repository github-repository-search github-repository-automation

Updated: 1 month ago
53 stars 4 fork 4 watcher
Born at : April 9, 2019, 9:19 a.m. This repo has been linked 1 different CVEs too.

glibc getcwd() local privilege escalation compiled binaries

cve 2018 privesc getcwd glibc works

C Shell

Updated: 6 months, 3 weeks ago
32 stars 7 fork 7 watcher
Born at : Feb. 7, 2018, 5:34 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000001 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000001 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-787
  • CVE Modified by [email protected]

    Apr. 04, 2019

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20190404-0003/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 19, 2019

    Action Type Old Value New Value
    Changed Reference Type https://usn.ubuntu.com/3534-1/ No Types Assigned https://usn.ubuntu.com/3534-1/ Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/43775/ Third Party Advisory, VDB Entry https://www.exploit-db.com/exploits/43775/ Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://usn.ubuntu.com/3536-1/ No Types Assigned https://usn.ubuntu.com/3536-1/ Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/44889/ No Types Assigned https://www.exploit-db.com/exploits/44889/ Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0805 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0805 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jun. 16, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/44889/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 12, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0805 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3536-1/ [No Types Assigned]
    Added Reference https://usn.ubuntu.com/3534-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 16, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/102525 No Types Assigned http://www.securityfocus.com/bid/102525 Third Party Advisory, VDB Entry
    Changed Reference Type https://www.exploit-db.com/exploits/43775/ No Types Assigned https://www.exploit-db.com/exploits/43775/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ No Types Assigned https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1040162 No Types Assigned http://www.securitytracker.com/id/1040162 Third Party Advisory, VDB Entry
    Changed Reference Type http://seclists.org/oss-sec/2018/q1/38 No Types Assigned http://seclists.org/oss-sec/2018/q1/38 Mailing List, Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions up to (including) 2.26
  • CVE Modified by [email protected]

    Feb. 02, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/43775/ [No Types Assigned]
    Added Reference http://www.securitytracker.com/id/1040162 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/102525 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000001 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-1000001 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.52 }} 0.16%

score

0.74248

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability