Exploit database

Vulnerability

CVE-2019-18634

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.

CVE Program

Exploit source choices

11 sources
0xsyr0/oscp
GH-1e9613ea0d155c33d16520580dbed873GitHubUnofficial GitHub source

OSCP Cheat Sheet

2021-10-2262 files · 3,887 stars
saleemrashid/sudo-cve-2019-18634
GH-cce771b383e231e96149348a136bd67eGitHubUnofficial GitHub source

Proof of Concept for CVE-2019-18634

2020-02-075 files · 241 stars
plazmaz/cve-2019-18634
GH-f0495662e9e92486818e8b6d9a4adea9GitHubUnofficial GitHub source

A functional exploit for CVE-2019-18634, a BSS overflow in sudo's pwfeedback feature that allows for for privesc

2020-02-075 files · 59 stars
aesophor/cve-2019-18634
GH-b0e39ec37baa4a482aed020ecc42e437GitHubUnofficial GitHub source

My n-day exploit for CVE-2019-18634 (local privilege escalation)

2021-08-013 files · 5 stars
chanbakjsd/cve-2019-18634
GH-a168870c0b2f25d4e5feeb12404e5a5bGitHubUnofficial GitHub source

A reproduction of CVE-2019-18634, sudo privilege escalation with buffer overflow.

2024-04-146 files · 3 stars
n1et/cve-2019-18634
GH-90491da5b4249a1280a3fb916dcf9cffGitHubUnofficial GitHub source

An Python Exploit for Sudo vulnerability CVE-2019-18634

2020-02-135 files · 2 stars
dukptkey/cve-2019-18634
GH-5ad3569bf9f6c0acb209413af7a37e9aGitHubUnofficial GitHub source

exploit for sudo CVE-2019-18634

2020-03-092 files · 1 stars
calana2/exploits
GH-3a316b236c521dc7d7bdb53c06dc8802GitHubUnofficial GitHub source

CVE exploits and PoCs

2025-06-3026 files · 0 stars