CVE-2019-19234
Sudo vulnerability
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 products
Sudo. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sudo runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.sudo.ws/devel.html#1.8.30b2 · Vendor Advisory
- www.sudo.ws/stable.html · Vendor Advisory
- access.redhat.com/security/cve/cve-2019-19234
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I
- quickview.cloudapps.cisco.com/quickview/bug/CSCvs58104
- quickview.cloudapps.cisco.com/quickview/bug/CSCvs58473
- quickview.cloudapps.cisco.com/quickview/bug/CSCvs58772
- nvd.nist.gov/vuln/detail/CVE-2019-19234
- cve.org/CVERecord?id=CVE-2019-19234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.