CVE-2019-18634
Sudo PWFeedback Stack-Based Buffer Overflow
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.
INFO
Published Date :
Jan. 29, 2020, 6:15 p.m.
Last Modified :
Nov. 7, 2023, 3:06 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2019-18634 has a 63 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2019-18634
.
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).
Este é um repositório de um projeto de desafio onde alteramos um payload de um exploit conhecido.
C Assembly
This repository is designed to provide a comprehensive collection of study materials, notes, and resources for the Offensive Security Certified Professional (OSCP) exam. It covers all key topics from basic to advanced, helping aspiring penetration testers to prepare efficiently for the exam.
cybersecurity hacking oscp oscp-guide oscp-journey oscp-prep
None
Python C Shell PHP PowerShell ASP.NET
linpeas.sh
Shell
OSCP and stuffs
A reproduction of CVE-2019-18634, sudo privilege escalation with buffer overflow.
Dockerfile Shell Python
None
Python C Shell
OffSec Certified Professional Certification (OSCP).
oscp oscp-cheatsheet oscp-guide oscp-journey oscp-prep oscp-tools offsec-certified-professional-certification offensive-security offensivesecurity awesome-list awesome-lists cheatsheet offensive-ops
Oscp-notes
Pentesting Linux
pentest pentest-scripts pentest-tool pentest-tools pentesters pentesting pentesting-tool pentest-linux pentesting-linux
None
Python C Shell
Ethical Hacking Repository
Python C Shell
None
Shell C Perl
OSCP Cheat Sheet
cheatsheet oscp
Python C Shell
Config files for my GitHub profile.
config github-config
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-18634
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-18634
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 -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/ -
CVE Modified by [email protected]
Mar. 17, 2020
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 14, 2020
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202003-12 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 11, 2020
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2020:0726 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 06, 2020
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 25, 2020
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 18, 2020
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2020:0540 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 13, 2020
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2020:0509 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 13, 2020
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2020:0487 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 11, 2020
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4263-2/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 10, 2020
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20200210-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 07, 2020
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4263-1/ [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 06, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html No Types Assigned http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html No Types Assigned http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html Third Party Advisory, VDB Entry Changed Reference Type http://seclists.org/fulldisclosure/2020/Jan/40 No Types Assigned http://seclists.org/fulldisclosure/2020/Jan/40 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2020/01/30/6 No Types Assigned http://www.openwall.com/lists/oss-security/2020/01/30/6 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2020/01/31/1 No Types Assigned http://www.openwall.com/lists/oss-security/2020/01/31/1 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2020/02/05/2 No Types Assigned http://www.openwall.com/lists/oss-security/2020/02/05/2 Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2020/02/05/5 No Types Assigned http://www.openwall.com/lists/oss-security/2020/02/05/5 Exploit, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html Mailing List, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2020/Feb/2 No Types Assigned https://seclists.org/bugtraq/2020/Feb/2 Mailing List, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2020/Feb/3 No Types Assigned https://seclists.org/bugtraq/2020/Feb/3 Mailing List, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2020/Jan/44 No Types Assigned https://seclists.org/bugtraq/2020/Jan/44 Mailing List, Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT210919 No Types Assigned https://support.apple.com/kb/HT210919 Third Party Advisory Changed Reference Type https://www.debian.org/security/2020/dsa-4614 No Types Assigned https://www.debian.org/security/2020/dsa-4614 Third Party Advisory Changed Reference Type https://www.sudo.ws/alerts/pwfeedback.html No Types Assigned https://www.sudo.ws/alerts/pwfeedback.html Exploit, Vendor Advisory Changed Reference Type https://www.sudo.ws/security.html No Types Assigned https://www.sudo.ws/security.html Vendor Advisory Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* versions from (including) 1.7.1 up to (excluding) 1.8.26 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 06, 2020
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2020/02/05/5 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 05, 2020
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2020/02/05/2 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 03, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 03, 2020
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2020/Feb/3 [No Types Assigned] Added Reference https://seclists.org/bugtraq/2020/Feb/2 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 02, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 01, 2020
Action Type Old Value New Value Added Reference https://www.debian.org/security/2020/dsa-4614 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 01, 2020
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2020/Jan/40 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Changed Description In Sudo before 1.8.31, 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. 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 Modified by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2020/01/31/1 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2020/01/30/6 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 30, 2020
Action Type Old Value New Value Changed Description In Sudo through 1.8.29, 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. In Sudo before 1.8.31, 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. Added Reference https://seclists.org/bugtraq/2020/Jan/44 [No Types Assigned] Added Reference https://www.sudo.ws/alerts/pwfeedback.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-18634
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-2019-18634
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.18 }} -0.01%
score
0.54717
percentile