[34904] in bugtraq

home help back first fref pref prev next nref lref last post

lha buffer overflow(s) again

daemon@ATHENA.MIT.EDU (lw@wszia.edu.pl)
Sat May 15 14:43:09 2004

Date: 15 May 2004 11:09:00 -0000
Message-ID: <20040515110900.24784.qmail@www.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: <lw@wszia.edu.pl>
To: bugtraq@securityfocus.com



i posted it yesterday to bugs@redhat.com but mailbox is disabled for that recipient :-/

Date: Sat, 15 May 2004 00:24:09 +0200 (CEST)
From: Lukasz Wojtow <gnz@student.wszia.edu.pl>
To: bugs@redhat.com
Subject: LHA buffer overflow (not the last one already fixed)

it seems that lha is quite poorly written. after your last advisory, i
decided to take a look at the code and found 2 BO in function extract_one
(file lhext.c):
        if (extract_directory)
                sprintf(name, "%s/%s", extract_directory, q);
        else
                strcpy(name, q);

i bet there is more...

Regards
Lukasz Wojtow

home help back first fref pref prev next nref lref last post