Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2019-14287Improper Handling of Exceptional Conditions in Project Sudo

Severity
8.8HIGHNVD
EPSS
85.8%
top 0.61%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Timeline
PublishedOct 17
Latest updateMay 24

Description

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u \#$((0xffffffff))" command.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages7 packages

NVDsudo_project/sudo< 1.8.28
Debiansudo_project/sudo< 1.8.27-1.1+3
NVDopensuse/leap15.0, 15.1+1
NVDredhat/enterprise_linux_server5.0, 6.0, 7.0+2

Also affects: Debian Linux 10.0, 8.0, 9.0, Fedora 29, 30, 31, Ubuntu Linux 12.04, 14.04, 16.04, 18.04, 19.04, Enterprise Linux 8.0, 7.5, 7.6, 7.7, 8.1, 8.2, 8.4, 6.5, 6.6, 7.2, 7.3, 7.4, Openshift Container Platform 4.1

Patches

🔴Vulnerability Details

3
GHSA
GHSA-33h3-qhjg-4qmf: In Sudo before 12022-05-24
OSV
CVE-2019-14287: In Sudo before 12019-10-17
CVEList
CVE-2019-14287: In Sudo before 12019-10-17

💥Exploits & PoCs

2
Exploit-DB
sudo 1.8.27 - Security Bypass2019-10-15
Nuclei
Sudo <= 1.8.27 - Security Bypass

🔍Detection Rules

1
Elastic
Potential Sudo Privilege Escalation via CVE-2019-14287

📋Vendor Advisories

3
Red Hat
sudo: Privilege escalation via 'Runas' specification with 'ALL' keyword2019-10-14
Ubuntu
Sudo vulnerability2019-10-14
Debian
CVE-2019-14287: sudo - In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can...2019

📄Research Papers

1
CTF
Easy / sudovulnsbypass

💬Community

2
Bugzilla
CVE-2019-14287 sudo: Privilege escalation via 'Runas' specification with 'ALL' keyword [fedora-all]2019-10-14
Bugzilla
CVE-2019-14287 sudo: Privilege escalation via 'Runas' specification with 'ALL' keyword2019-10-10