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.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2019-18634 has a 62 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-18634 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Sudo_project sudo
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.

URL Resource
http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html
http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2020/Jan/40 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/01/30/6 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/01/31/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/02/05/2 Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/02/05/5 Exploit Third Party Advisory
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 Mailing List Third Party Advisory
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 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2020/Feb/3 Mailing List Third Party Advisory
https://seclists.org/bugtraq/2020/Jan/44 Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202003-12
https://security.netapp.com/advisory/ntap-20200210-0001/
https://support.apple.com/kb/HT210919 Third Party Advisory
https://usn.ubuntu.com/4263-1/
https://usn.ubuntu.com/4263-2/
https://www.debian.org/security/2020/dsa-4614 Third Party Advisory
https://www.sudo.ws/alerts/pwfeedback.html Exploit Vendor Advisory
https://www.sudo.ws/security.html Vendor Advisory

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

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

Updated: 6 hours, 6 minutes ago
1 stars 0 fork 0 watcher
Born at : Oct. 4, 2024, 4:43 p.m. This repo has been linked 75 different CVEs too.

None

Python C Shell PHP PowerShell ASP.NET

Updated: 4 days, 7 hours ago
0 stars 0 fork 0 watcher
Born at : Oct. 1, 2024, 2:21 p.m. This repo has been linked 66 different CVEs too.

linpeas.sh

Shell

Updated: 3 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : June 7, 2024, 4:52 p.m. This repo has been linked 8 different CVEs too.

OSCP and stuffs

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : April 19, 2024, 8:18 p.m. This repo has been linked 63 different CVEs too.

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

Dockerfile Shell Python

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : April 14, 2024, 7:36 a.m. This repo has been linked 1 different CVEs too.

None

Python C Shell

Updated: 2 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : March 29, 2024, 5:29 a.m. This repo has been linked 62 different CVEs too.

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

Updated: 7 months ago
1 stars 0 fork 0 watcher
Born at : March 5, 2024, 9:21 a.m. This repo has been linked 61 different CVEs too.

Oscp-notes

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : March 3, 2024, 5:12 a.m. This repo has been linked 61 different CVEs too.

Pentesting Linux

pentest pentest-scripts pentest-tool pentest-tools pentesters pentesting pentesting-tool pentest-linux pentesting-linux

Updated: 7 months, 1 week ago
2 stars 0 fork 0 watcher
Born at : Feb. 27, 2024, 9:47 a.m. This repo has been linked 3 different CVEs too.

None

Python C Shell

Updated: 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 7, 2024, 10:22 a.m. This repo has been linked 61 different CVEs too.

Ethical Hacking Repository

Python C Shell

Updated: 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 2, 2024, 9:12 a.m. This repo has been linked 61 different CVEs too.

None

Shell C Perl

Updated: 9 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Dec. 27, 2023, 3:52 a.m. This repo has been linked 1 different CVEs too.

OSCP Cheat Sheet

cheatsheet oscp

Python C Shell

Updated: 1 month, 3 weeks ago
7 stars 4 fork 4 watcher
Born at : Dec. 17, 2023, 12:31 p.m. This repo has been linked 61 different CVEs too.

Config files for my GitHub profile.

config github-config

Updated: 10 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 16, 2023, 1:27 p.m. This repo has been linked 3 different CVEs too.

None

Python C Shell

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 20, 2023, 5:26 p.m. This repo has been linked 61 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability