PT-2019-4663 · Todd Miller +4 · Sudo +4
Published
2019-12-19
·
Updated
2024-08-05
·
CVE-2019-19234
7.8
High
Base vector | Vector | AV:N/AC:L/Au:N/C:N/I:C/A:N |
Name of the Vulnerable Software and Affected Versions:
Sudo versions 1.8.29 and earlier
Description:
The issue is related to improper access control in Sudo, allowing an attacker with access to a Runas ALL sudoer account to impersonate any blocked user. This is because 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. The software maintainer believes that this issue is not valid, as disabling local password authentication for a user is not the same as disabling all access to that user. Users may still be able to login via other means, such as ssh key or kerberos.
Recommendations:
For Sudo versions 1.8.29 and earlier, consider updating to Sudo 1.8.30 or later, which adds an optional setting to check the shell of the target user against the contents of /etc/shells. As a temporary workaround, consider restricting access to blocked users or disabling the use of the Runas ALL sudoer account until a patch is available.
Exploit
Fix
Improper Access Control
Weakness Enumeration
Related Identifiers
Affected Products
References · 118
- 🔥 https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/sudo_baron_samedit.rb⭐ 35564 🔗 14310 · Exploit
- 🔥 https://github.com/blasty/CVE-2021-3156⭐ 978 🔗 236 · Exploit
- 🔥 https://github.com/worawit/CVE-2021-3156⭐ 747 🔗 170 · Exploit
- 🔥 https://github.com/stong/CVE-2021-3156⭐ 435 🔗 108 · Exploit
- 🔥 https://github.com/saleemrashid/sudo-cve-2019-18634⭐ 214 🔗 45 · Exploit
- 🔥 https://github.com/Rvn0xsy/CVE-2021-3156-plus⭐ 202 🔗 42 · Exploit
- 🔥 https://github.com/CptGibbon/CVE-2021-3156⭐ 151 🔗 60 · Exploit
- 🔥 https://github.com/reverse-ex/CVE-2021-3156⭐ 111 🔗 43 · Exploit
- 🔥 https://github.com/Plazmaz/CVE-2019-18634⭐ 58 🔗 19 · Exploit
- 🔥 https://github.com/mr-r3b00t/CVE-2021-3156⭐ 35 🔗 31 · Exploit
- 🔥 https://github.com/0xdevil/CVE-2021-3156⭐ 51 🔗 15 · Exploit
- 🔥 https://github.com/mbcrump/CVE-2021-3156⭐ 39 🔗 4 · Exploit
- 🔥 https://github.com/PhuketIsland/CVE-2021-3156-centos7⭐ 26 🔗 2 · Exploit
- 🔥 https://github.com/JureGrinffin/CVE-2021-3156⭐ 1 🔗 23 · Exploit
- 🔥 https://github.com/unauth401/CVE-2021-3156⭐ 1 🔗 23 · Exploit