18 Aug 20:22
[Fwd: mutt buffer overflow]
From: Lars Hecking <lhecking <at> users.sourceforge.net>
Subject: [Fwd: mutt buffer overflow]
Newsgroups: gmane.mail.mutt.devel
Date: 2005-08-18 18:25:54 GMT
Subject: [Fwd: mutt buffer overflow]
Newsgroups: gmane.mail.mutt.devel
Date: 2005-08-18 18:25:54 GMT
----- Forwarded message from Peter Valchev <pvalchev <at> sightly.net> ----- Mailing-List: contact bugtraq-help <at> securityfocus.com; run by ezmlm Precedence: bulk Delivered-To: mailing list bugtraq <at> securityfocus.com Delivered-To: moderator for bugtraq <at> securityfocus.com Date: Thu, 18 Aug 2005 02:57:33 -0600 From: Peter Valchev <pvalchev <at> sightly.net> To: bugtraq <at> securityfocus.com, full-disclosure <at> lists.grok.org.uk Subject: mutt buffer overflow Mail-Followup-To: bugtraq <at> securityfocus.com, full-disclosure <at> lists.grok.org.uk User-Agent: Mutt/1.4.2i Summary/Impact: There is a buffer overflow in mutt found thanks to ProPolice, which may allow an attacker to execute code by sending a maliciously crafted email. All latest versions appear affected. Mutt is an e-mail client that sucks less according to the headline on http://www.mutt.org/ Details: The problem is in the mutt attachment/encoding/decoding functions, specifically handler.c:mutt_decode_xbit() and the buffer bufi[BUFI_SIZE]. The variable 'l' is used as a counter to reference a position in the buffer and under certain circumstances its value can be manipulated and becomes much larger than the size of this buffer, thus overwriting other memory with many possible consequences. This counter should never exceed the size and I believe the logic in the convert_to_state() function is supposed to reset it to 0, however there is a flaw - I have included a possible fix but I'm not sure(Continue reading)
RSS Feed