Skip to main content
← All vulnerabilities
CVE-2019-18634

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 proc

Published
Last modified
published
Not listed in CISA KEV
2 on Exploit-DB, 15 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-47995, EDB-48052

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 42

support.apple.com

seclists.org

sudo.ws

openwall.com

debian.org

lists.debian.org

packetstormsecurity.com

usn.ubuntu.com

security.netapp.com

access.redhat.com

lists.opensuse.org

lists.fedoraproject.org

security.gentoo.org

Exploit-DB

GitHub · DDayLuong/CVE-2019-18634

GitHub · DevTeam6Rabbit/CVE-2019-18634-writeup

GitHub · Moscvv/thm-cybersec-portfolio

GitHub · N1et/CVE-2019-18634

GitHub · Plazmaz/CVE-2019-18634

GitHub · TheJoyOfHacking/saleemrashid-sudo-cve-2019-18634

GitHub · aesophor/CVE-2019-18634

GitHub · chanbakjsd/CVE-2019-18634

GitHub · dukptkey/CVE-2019-18634

GitHub · edsonjt81/sudo-cve-2019-18634

GitHub · l0w3/CVE-2019-18634

GitHub · letsr00t/-CVE-2019-18634-sudo-pwfeedback

GitHub · ngyinkit/cve-2019-18634

GitHub · paras1te-x/CVE-2019-18634

GitHub · saleemrashid/sudo-cve-2019-18634