CVE-2019-19234
published 2019-12-19CVE-2019-19234: In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered…
PriorityP347high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
2.83%
85.1th percentile
In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software maintainer believes that this CVE is not valid. Disabling local password authentication for a user is not the same as disabling all access to that user--the user may still be able to login via other means (ssh key, kerberos, etc). Both the Linux shadow(5) and passwd(1) manuals are clear on this. Indeed it is a valid use case to have local accounts that are _only_ accessible via sudo and that cannot be logged into with a password. Sudo 1.8.30 added an optional setting to check the _shell_ of the target user (not the encrypted password!) against the contents of /etc/shells but that is not the same thing as preventing access to users with an invalid password hash
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sudo | < sudo 1.8.31-1 (bookworm) | sudo 1.8.31-1 (bookworm) |
| sudo | sudo | <= 1.8.29 | — |
| sudo_project | sudo | >= 0 < 1.8.31-1 | 1.8.31-1 |
| sudo_project | sudo | >= 0 < 1.8.31-1 | 1.8.31-1 |
| sudo_project | sudo | >= 0 < 1.8.31-1 | 1.8.31-1 |
| sudo_project | sudo | >= 0 < 1.8.31-1 | 1.8.31-1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
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.
GHSA
GHSA-vh47-792w-24m4: In Sudo through 1
ghsa_unreviewed·2022-05-24
CVE-2019-19234 [MEDIUM] GHSA-vh47-792w-24m4: In Sudo through 1
In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user.
OSV
CVE-2019-19234: In Sudo through 1
osv·2019-12-19·CVSS 7.5
CVE-2019-19234 [HIGH] CVE-2019-19234: In Sudo through 1
In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software maintainer believes that this CVE is not valid. Disabling local password authentication for a user is not the same as disabling all access to that user--the user may still be able to login via other means (ssh key, kerberos, etc). Both the Linux shadow(5) and passwd(1) manuals are clear on this. Indeed it is a valid use case to have local accounts that are _only_ accessible via sudo and that cannot be logged into with a password. Sudo 1.8.30 added an optional setting to check the _shell_ of the target user (not the
Red Hat
sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
vendor_redhat·2019-12-19·CVSS 7.5
CVE-2019-19234 [HIGH] CWE-284 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software maintainer believes that this CVE is not valid. Disabling local password authentication for a user is not the same as disabling all access to that user--the user may still be able to login via other means (ssh key, kerberos, etc). Both the Linux shadow(5) and passwd(1) manuals are clear on this. Indeed it is a valid use case to have local accounts that are _only_ accessible via sudo and that cannot be
Debian
CVE-2019-19234: sudo - In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using th...
vendor_debian·2019·CVSS 7.5
CVE-2019-19234 [HIGH] CVE-2019-19234: sudo - In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using th...
In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software maintainer believes that this CVE is not valid. Disabling local password authentication for a user is not the same as disabling all access to that user--the user may still be able to login via other means (ssh key, kerberos, etc). Both the Linux shadow(5) and passwd(1) manuals are clear on this. Indeed it is a valid use case to have local accounts that are _only_ accessible via sudo and that cannot be logged into with a password. Sudo 1.8.30 added an optional setting to check the _shell_ of the target user (not the
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
bugzilla·2019-12-27·CVSS 7.5
CVE-2019-19234 [HIGH] CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account
A vulnerability was found in Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user.
Reference:
https://www.sudo.ws/stable.html#1.8.30
https://www.sudo.ws/devel.html#1.8.30b2
Discussion:
Created sudo tracking bugs for this issue:
Affects: fedora-all [bug 1786709]
---
Upstream patch: https://www.sudo.ws/repos/sudo/rev/ed6db31729cd
---
Analysis:
Basically in shadow file, when an account is disabled by replacing the hash with "!", it is not considered disab
Bugzilla
CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account [fedora-all]
bugzilla·2019-12-27·CVSS 7.5
CVE-2019-19234 [HIGH] CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account [fedora-all]
CVE-2019-19234 sudo: by using ! character in the shadow file instead of a password hash can access to a run as all sudoer account [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg comm
https://access.redhat.com/security/cve/cve-2019-19234https://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://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58104https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58473https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58772https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58812https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58979https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs60748https://security.netapp.com/advisory/ntap-20200103-0004/https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2019-19234https://support2.windriver.com/index.php?page=defects&on=view&id=LIN1018-5505https://support2.windriver.com/index.php?page=defects&on=view&id=LIN1019-3816https://www.bsi.bund.de/SharedDocs/Warnmeldungen/DE/CB/2019/12/warnmeldung_cb-k20-0001.htmlhttps://www.oracle.com/security-alerts/bulletinapr2020.htmlhttps://www.sudo.ws/devel.html#1.8.30b2https://www.sudo.ws/stable.htmlhttps://www.suse.com/security/cve/CVE-2019-19234/https://www.tenable.com/plugins/nessus/132985https://access.redhat.com/security/cve/cve-2019-19234https://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://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58104https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58473https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58772https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58812https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58979https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs60748https://security.netapp.com/advisory/ntap-20200103-0004/https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2019-19234https://support2.windriver.com/index.php?page=defects&on=view&id=LIN1018-5505https://support2.windriver.com/index.php?page=defects&on=view&id=LIN1019-3816https://www.bsi.bund.de/SharedDocs/Warnmeldungen/DE/CB/2019/12/warnmeldung_cb-k20-0001.htmlhttps://www.oracle.com/security-alerts/bulletinapr2020.htmlhttps://www.sudo.ws/devel.html#1.8.30b2https://www.sudo.ws/stable.htmlhttps://www.suse.com/security/cve/CVE-2019-19234/https://www.tenable.com/plugins/nessus/132985
2019-12-19
Published