漏洞信息详情
Linux和UNIX UW-IMAP tmail及dmail多个本地栈溢出漏洞
漏洞简介
UW-IMAP是Linux和UNIX系统的免费IMAP服务,捆绑于各种Linux版本中。
tmail和dmail都是UW-IMAP所使用的邮件传输代理,这两个应用没有对从命令行所传送的文件名扩展名参数执行边界检查,如果用户提交了超长的文件夹名称的话就可以触发栈溢出。
对于tmail,这个溢出可能导致以root用户权限执行任意代码;对于dmail,可能导致以收件人的权限执行任意代码。以下是存在漏洞的代码段:
[tmail.c]
char *getusername (char *s,char **t)
{
char tmp[MAILTMPLEN];
if (*t = strchr (s,\'\'+\'\')) { /* have a mailbox specifier? */
*(*t)++ = \'\'\0\'\'; /* yes, tie off user name */
/* user+ and user+INBOX same as user */
if (!**t || !strcmp (\"INBOX\",ucase (strcpy (tmp,*t)))) *t = NIL;
}
return s; /* return user name */
}
[dmail.c]
int deliver (FILE *f,unsigned long msglen,char *user)
{
MAILSTREAM *ds = NIL;
漏洞公告
目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
University of Washington
------------------------
ftp://ftp.cac.washington.edu/imap
参考网址
来源: bugzilla.redhat.com
链接:https://bugzilla.redhat.com/show_bug.cgi?id=469667
来源: MLIST
名称: [imap-uw] 20081031 Security bug in tmail and dmail
链接:http://mailman2.u.washington.edu/pipermail/imap-uw/2008-October/002267.html
来源: FEDORA
名称: FEDORA-2008-9396
链接:https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00082.html
来源: FEDORA
名称: FEDORA-2008-9383
链接:https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00058.html
来源: XF
名称: uwimapd-tmail-bo(46281)
链接:http://xforce.iss.net/xforce/xfdb/46281
来源: MISC
链接:http://www.washington.edu/alpine/tmailbug.html
来源: BID
名称: 32072
链接:http://www.securityfocus.com/bid/32072
来源: BUGTRAQ
名称: 20081103 Bitsec Security Advisory: UW/Panda IMAP [dt]mail buffer overflow
链接:http://www.securityfocus.com/archive/1/archive/1/498002/100/0/threaded
来源: MLIST
名称: [oss-security] 20081103 Re: CVE request - uw-imap
链接:http://www.openwall.com/lists/oss-security/2008/11/03/5
来源: MLIST
名称: [oss-security] 20081103 Re: CVE request - uw-imap
链接:http://www.openwall.com/lists/oss-security/2008/11/03/4
来源: MLIST
名称: [oss-security] 20081103 CVE request - uw-imap
链接:http://www.openwall.com/lists/oss-security/2008/11/03/3
来源: MANDRIVA
名称: MDVSA-2009:146
链接:http://www.mandriva.com/security/advisories?name=MDVSA-2009:146
来源: VUPEN
名称: ADV-2008-3042
链接:http://www.frsirt.com/english/advisories/2008/3042
来源: DEBIAN
名称: DSA-1685
链接:http://www.debian.org/security/2008/dsa-1685
来源: MISC
名称: http://www.bitsec.com/en/rad/bsa-081103.txt
链接:http://www.bitsec.com/en/rad/bsa-081103.txt
来源: CONFIRM
名称: http://support.avaya.com/elmodocs2/security/ASA-2009-065.htm
链接:http://support.avaya.com/elmodocs2/security/ASA-2009-065.htm
来源: SECTRACK
名称: 1021131
链接:http://securitytracker.com/id?1021131
来源: SREASON
名称: 4570
链接:http://securityreason.com/securityalert/4570
来源: SECUNIA
名称: 33996
链接:http://secunia.com/advisories/33996
来源: SECUNIA
名称: 33142
链接:http://secunia.com/advisories/33142
来源: SECUNIA
名称: 32512
链接:http://secunia.com/advisories/32512
来源: SECUNIA
名称: 32483
链接:http://secunia.com/advisories/32483
来源: REDHAT
名称: RHSA-2009:0275
链接:http://rhn.redhat.com/errata/RHSA-2009-0275.html
来源: panda.com
链接:http://panda.com/imap/
来源: FULLDISC
名称: 20081103 Bitsec Security Advisory: UW/Panda IMAP [dt]mail buffer overflow
链接:http://marc.info/?l=full-disclosure&m=122572590212610&w=4
来源: MLIST
名称: [imap-uw] 20081031 Security bug in tmail and dmail
链接:http://mailman2.u.washington.edu/pipermail/imap-uw/2008-October/002268.html
受影响实体
- University_of_washington Alpine:0.99999<!--2000-1-1-->
- University_of_washington Alpine:0.999999<!--2000-1-1-->
- University_of_washington Alpine:1.00<!--2000-1-1-->
- University_of_washington Alpine:1.10<!--2000-1-1-->
- University_of_washington Alpine:0.999<!--2000-1-1-->
补丁
暂无
还没有评论,来说两句吧...