Vulnerability Report

CVE-2019-18634

RCE

Title: Sudo Project Sudo RCE

RCE

Proof Of Concept

PoC Available for CVE-2019-18634

CWE Category CWE-787
Published Date Jan 29, 2020
Modified Date Nov 21, 2024
Exploit Status Available
Score 7.8 CVSS v3.1
Exploit Probability (EPSS)
19.43%

Vulnerability Summary

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 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.

Impacted Vendors

Reference Links

http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html http://seclists.org/fulldisclosure/2020/Jan/40 http://www.openwall.com/lists/oss-security/2020/01/30/6 http://www.openwall.com/lists/oss-security/2020/01/31/1 http://www.openwall.com/lists/oss-security/2020/02/05/2 http://www.openwall.com/lists/oss-security/2020/02/05/5 https://access.redhat.com/errata/RHSA-2020:0487 https://access.redhat.com/errata/RHSA-2020:0509 https://access.redhat.com/errata/RHSA-2020:0540 https://access.redhat.com/errata/RHSA-2020:0726 https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/ https://seclists.org/bugtraq/2020/Feb/2 https://seclists.org/bugtraq/2020/Feb/3 https://seclists.org/bugtraq/2020/Jan/44 https://security.gentoo.org/glsa/202003-12 https://security.netapp.com/advisory/ntap-20200210-0001/ https://support.apple.com/kb/HT210919 https://usn.ubuntu.com/4263-1/ https://usn.ubuntu.com/4263-2/ https://www.debian.org/security/2020/dsa-4614 https://www.sudo.ws/alerts/pwfeedback.html https://www.sudo.ws/security.html http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html http://seclists.org/fulldisclosure/2020/Jan/40 http://www.openwall.com/lists/oss-security/2020/01/30/6 http://www.openwall.com/lists/oss-security/2020/01/31/1 http://www.openwall.com/lists/oss-security/2020/02/05/2 http://www.openwall.com/lists/oss-security/2020/02/05/5 https://access.redhat.com/errata/RHSA-2020:0487 https://access.redhat.com/errata/RHSA-2020:0509 https://access.redhat.com/errata/RHSA-2020:0540 https://access.redhat.com/errata/RHSA-2020:0726 https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/ https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/ https://seclists.org/bugtraq/2020/Feb/2 https://seclists.org/bugtraq/2020/Feb/3 https://seclists.org/bugtraq/2020/Jan/44 https://security.gentoo.org/glsa/202003-12 https://security.netapp.com/advisory/ntap-20200210-0001/ https://support.apple.com/kb/HT210919 https://usn.ubuntu.com/4263-1/ https://usn.ubuntu.com/4263-2/ https://www.debian.org/security/2020/dsa-4614 https://www.sudo.ws/alerts/pwfeedback.html https://www.sudo.ws/security.html
CVSS v3.1
Source Entity [email protected]
Severity HIGH
7.8
Attack Vector
LOCAL
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Source Entity [email protected]
Severity MEDIUM
4.6
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:L/AC:L/Au:N/C:P/I:P/A:P

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2019-18634 Exploits & PoCs (Proof Of Concept)

Exploit-DB https://www.exploit-db.com/exploits/47995
View Code
Exploit-DB https://www.exploit-db.com/exploits/48052
View Code
MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector LOCAL
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Stack

No specific products linked.