{"id":"CVE-2019-14287","published":"2019-10-17T17:03:28Z","modified":"2024-08-05T00:12:43Z","title":"In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in Sudo before version 1.8.28, in how sudo handles the target user ID supplied on the command line. An attacker who holds a Runas ALL sudoer account can bypass certain policy blacklists, session PAM modules and USER= logging by invoking sudo with a crafted user ID such as \"sudo -u #$((0xffffffff))\".","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:54Z"},"cvss":null,"epss":{"score":0.63764,"percentile":0.99239,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"Midwest Malware","url":"https://otx.alienvault.com/pulse/6a8e6c8dc6d3df83aac08378","created":"2026-08-26"},{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2019/10/14/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4154-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2019/dsa-4543","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Oct/21","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://seclists.org/bugtraq/2019/Oct/20","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00042.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://packetstormsecurity.com/files/154853/Slackware-Security-Advisory-sudo-Updates.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IP7SIOAVLSKJGMTIULX52VQUPTVSC43U/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.sudo.ws/alerts/minus_1_uid.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00047.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.netapp.com/advisory/ntap-20191017-0003/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.openwall.com/lists/oss-security/2019/10/15/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00022.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUVAOZBYUHZS56A5FQSCDVGXT7PW7FL2/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://support.f5.com/csp/article/K53746212?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2019/10/24/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3197","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3205","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3204","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3209","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3219","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2019/10/29/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPLAM57TPJQGKQMNG6RHFBLACD6K356N/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3278","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://resources.whitesourcesoftware.com/blog-whitesource/new-vulnerability-in-sudo-cve-2019-14287","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3694","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3755","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3754","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3895","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3916","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHBA-2019:3248","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3941","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4191","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03976en_us","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0388","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/202003-12","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.openwall.com/lists/oss-security/2021/09/14/2","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-5514","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-5514","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":47502,"url":"https://www.exploit-db.com/exploits/47502","title":"sudo 1.8.27 - Security Bypass","type":"local","platform":"linux","date":"2019-10-15","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-10-15"},"pocGithub":{"count":17,"skipped":11,"earliest":"2019-10-15","earliestUrl":"https://github.com/FauxFaux/sudo-cve-2019-14287","repos":[{"name":"n0w4n/CVE-2019-14287","url":"https://github.com/n0w4n/CVE-2019-14287","stars":14,"created":"2019-10-15"},{"name":"CMNatic/Dockerized-CVE-2019-14287","url":"https://github.com/CMNatic/Dockerized-CVE-2019-14287","stars":7,"created":"2020-02-09"},{"name":"shallvhack/Sudo-Security-Bypass-CVE-2019-14287","url":"https://github.com/shallvhack/Sudo-Security-Bypass-CVE-2019-14287","stars":3,"created":"2019-10-18"},{"name":"FauxFaux/sudo-cve-2019-14287","url":"https://github.com/FauxFaux/sudo-cve-2019-14287","stars":1,"created":"2019-10-15"},{"name":"CashWilliams/CVE-2019-14287-demo","url":"https://github.com/CashWilliams/CVE-2019-14287-demo","stars":1,"created":"2019-10-15"}]},"first":{"date":"2019-10-15","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/47502"},"provenance":"source"},"detections":{"cveRules":[{"title":"Sudo Privilege Escalation CVE-2019-14287 - Builtin","id":"7fcc54cb-f27d-4684-84b7-436af096f858","level":"critical","status":"test","path":"rules-emerging-threats/2019/Exploits/CVE-2019-14287/lnx_sudo_exploit_cve_2019_14287.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2019/Exploits/CVE-2019-14287/lnx_sudo_exploit_cve_2019_14287.yml","techniques":["T1068","T1548.003"]},{"title":"Sudo Privilege Escalation CVE-2019-14287","id":"f74107df-b6c6-4e80-bf00-4170b658162b","level":"high","status":"test","path":"rules-emerging-threats/2019/Exploits/CVE-2019-14287/proc_creation_lnx_exploit_cve_2019_14287.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2019/Exploits/CVE-2019-14287/proc_creation_lnx_exploit_cve_2019_14287.yml","techniques":["T1068","T1548.003"]}]},"exploitRefs":["http://packetstormsecurity.com/files/154853/Slackware-Security-Advisory-sudo-Updates.html"],"flow":[],"timeline":[{"date":"2019-10-15","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-47502); later: PoC-in-GitHub 2019-10-15","url":"https://www.exploit-db.com/exploits/47502","provenance":"source"},{"date":"2019-10-17","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-14287","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":25.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9924"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 17 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}