漏洞描述
In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
seclists.orghttps://seclists.org/bugtraq/2020/Feb/3↗security.netapp.comhttps://security.netapp.com/advisory/ntap-20200210-0001/↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2020/02/05/5↗lists.debian.orghttps://lists.debian.org/debian-lts-announce/2020/02/msg00002.html↗security.gentoo.orghttps://security.gentoo.org/glsa/202003-12↗usn.ubuntu.comhttps://usn.ubuntu.com/4263-1/↗lists.opensuse.orghttp://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html↗seclists.orghttp://seclists.org/fulldisclosure/2020/Jan/40↗access.redhat.comhttps://access.redhat.com/errata/RHSA-2020:0726↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2020/01/30/6↗support.apple.comhttps://support.apple.com/kb/HT210919↗packetstormsecurity.comhttp://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2020/02/05/2↗access.redhat.comhttps://access.redhat.com/errata/RHSA-2020:0487↗usn.ubuntu.comhttps://usn.ubuntu.com/4263-2/↗access.redhat.comhttps://access.redhat.com/errata/RHSA-2020:0509↗access.redhat.comhttps://access.redhat.com/errata/RHSA-2020:0540↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2020/01/31/1↗seclists.orghttps://seclists.org/bugtraq/2020/Feb/2↗packetstormsecurity.comhttp://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html↗lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/↗www.debian.orghttps://www.debian.org/security/2020/dsa-4614↗www.sudo.wshttps://www.sudo.ws/security.html↗www.sudo.wshttps://www.sudo.ws/alerts/pwfeedback.html↗seclists.orghttps://seclists.org/bugtraq/2020/Jan/44↗lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/↗