---
cve: "CVE-2018-1000001"
severity: "LOW"
cvss: 3.1
epss: "13.4%"
vendor: "n/a"
kev: false
exploited: false
published: "2018-01-31 14:29:00"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T05:13:34+02:00"
---

# CVE-2018-1000001

> 3.1 LOW · 🧪 PoC

## Beschreibung

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.

## Exploit-Evidenz

- [EDB-44889 — glibc - 'realpath()' Privilege Escalation (Metasploit)](https://www.exploit-db.com/exploits/44889) ✅
- [EDB-43775 — glibc < 2.26 - 'getcwd()' Local Privilege Escalation](https://www.exploit-db.com/exploits/43775) ✅

## Referenzen

- <http://seclists.org/oss-sec/2018/q1/38>
- <https://usn.ubuntu.com/3534-1/>
- <https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/>
- <http://www.securityfocus.com/bid/102525>
- <https://www.exploit-db.com/exploits/44889/>
- <https://www.exploit-db.com/exploits/43775/>
- <https://usn.ubuntu.com/3536-1/>
- <https://access.redhat.com/errata/RHSA-2018:0805>
- <http://www.securitytracker.com/id/1040162>
- <https://security.netapp.com/advisory/ntap-20190404-0003/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2018-1000001) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
