OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA32483] UW-imapd "tmail" and "dmail" Buffer Overflow Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Nov 03 2008 - 11:24:04 CST


----------------------------------------------------------------------

Do you need accurate and reliable IDS / IPS / AV detection rules?

Get in-depth vulnerability details:
http://secunia.com/binary_analysis/sample_analysis/

----------------------------------------------------------------------

TITLE:
UW-imapd "tmail" and "dmail" Buffer Overflow Vulnerabilities

SECUNIA ADVISORY ID:
SA32483

VERIFY ADVISORY:
http://secunia.com/advisories/32483/

CRITICAL:
Moderately critical

IMPACT:
Privilege escalation, System access

WHERE:
From remote

SOFTWARE:
UW-imapd
http://secunia.com/advisories/product/1578/

DESCRIPTION:
Two vulnerabilities have been reported in UW-imapd, which can be
exploited by malicious, local users to potentially gain escalated
privileges, and by malicious people to potentially compromise a
vulnerable system.

1) A boundary error in the "tmail" utility when processing overly
long mailbox names (over 1024 bytes) can be exploited to cause a
stack-based buffer overflow.

NOTE: The vulnerability may allow a local user to execute arbitrary
code with root privileges if the utility is installed set-uid root.

2) A boundary error in the "dmail" utility when processing overly
long mailbox names (over 1024 bytes) can be exploited to cause a
stack-based buffer overflow.

Successful exploitation of the vulnerabilities may allow execution of
arbitrary code, but requires that the utilities are configured as a
delivery backend for a mail transfer agent allowing overly long
destination mailbox names.

The vulnerabilities are reported in versions prior to 2007d.

SOLUTION:
Update to version 2007d.
ftp://ftp.cac.washington.edu/imap

PROVIDED AND/OR DISCOVERED BY:
Reported by the vendor.

ORIGINAL ADVISORY:
http://mailman2.u.washington.edu/pipermail/imap-uw/2008-October/002267.html
http://mailman2.u.washington.edu/pipermail/imap-uw/2008-October/002268.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------