cbcvebase.
CVE-2019-14287
published 2019-10-17

CVE-2019-14287: 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…

PriorityP276high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
63.92%
99.1th percentile
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.

Affected

51 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiansudo< sudo 1.8.27-1.1 (bookworm)sudo 1.8.27-1.1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
opensuseleap
opensuseleap
redhatenterprise_linux
redhatenterprise_linux_desktop
redhatenterprise_linux_desktop
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_server
redhatenterprise_linux_server

Detection & IOCsextracted from sources · hover to see the quote

commandsudo -u#-1 /bin/bash
commandsudo -u \#$((0xffffffff))
commandsudo -u#-1
path/etc/sudoers
  • Alert on sudo command lines matching the pattern `sudo -u#-1 <cmd>` or `sudo -u \#$((0xffffffff)) <cmd>` in shell/process audit logs (auditd, syslog, EDR), as these are the exact invocation forms used in exploitation.
  • The vulnerability is only exploitable when a sudoers entry grants a user (ALL, !root) permissions — audit sudoers files for entries containing '!root' combined with broad command grants (ALL or specific binaries), as these are the prerequisite configurations.
  • Check for incorrect USER= logging in sudo audit logs — the CVE causes sudo to log the wrong user identity, so a mismatch between the logged user and actual effective UID=0 activity is a post-exploitation indicator.
  • ·The vulnerability only affects systems where a sudoers entry explicitly uses the '!root' restriction (e.g., ALL=(ALL:!root) ...). Systems without such a configuration are not vulnerable — most Linux machines were unaffected.
  • ·Only Sudo versions before 1.8.28 are vulnerable. Systems running 1.8.28 or later are patched.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.