Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] Exim dns_buld_reverse() Buffer Overflow Vulnerability |
|---|---|
| Date: | 16 Jan 2005 10:50:49 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - Exim dns_buld_reverse() Buffer Overflow Vulnerability ------------------------------------------------------------------------ SUMMARY <http://www.exim.org/> Exim is "a mail transfer agent (MTA) for Unix systems similar to Sendmail". Local exploitation of a buffer overflow vulnerability in Exim 4.41 allows execution of arbitrary commands with elevated privileges. DETAILS Vulnerable Systems: * Exim version 4.42 and prior Immune Systems: * Exim version 4.43 or newer The problem specifically exists in the dns_build_reverse() function. The function fails to check the length of a string which it copies into a fixed length buffer. This string is user controlled and passed into the program from a command line option. The following example demonstrates an input that will crash Exim: /usr/bin/exim -bh ::%A`perl -e 'print pack('L',0xdeadbeef') x 256'` Analysis: Exploitation of this vulnerability will give an attacker access to the mailer uid. (The exim mailer is setuid root, but drops privileges before the vulnerable code is reached). Having the mailer uid may allow access to sensitive information in email messages, or possibly further elevation. Vendor response: A patch for Exim release 4.43 which addresses this vulnerability is available at: <http://www.exim.org/mail-archives/exim-announce/2005/msg00000.html> http://www.exim.org/mail-archives/exim-announce/2005/msg00000.html The patch will be incorporated into a future Exim release (4.50). Disclosure Timeline: 09/30/2004 - Initial vendor notification 09/30/2004 - Initial vendor response 01/14/2005 - Public disclosure ADDITIONAL INFORMATION The information has been provided by <mailto:idlabs-advisories@idefense.com> iDEFENSE. The original article can be found at: <http://www.idefense.com/application/poi/display?id=183&type=vulnerabilities> http://www.idefense.com/application/poi/display?id=183&type=vulnerabilities ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability, Trog |
|---|---|
| Next by Date: | [EXPL] Exim dns_buld_reverse() Exploit, SecuriTeam |
| Previous by Thread: | Re: [Full-Disclosure] Multi-vendor AV gateway image inspection bypass vulnerability, Trog |
| Next by Thread: | [EXPL] Exim dns_buld_reverse() Exploit, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |