[34938] in bugtraq

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

RE: [Full-Disclosure] Re: Buffer Overflow in ActivePerl ?

daemon@ATHENA.MIT.EDU (Bill Royds)
Tue May 18 13:23:19 2004

From: "Bill Royds" <full-disclosure@royds.net>
To: <Oliver@greyhat.de>
Cc: <full-disclosure@lists.netsys.com>, <bugtraq@securityfocus.com>
Date: Tue, 18 May 2004 07:22:54 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <Pine.LNX.4.58.0405171757250.7759@deadrat.localdomain>
Message-Id: <20040518112114.HUET456352.fep04-mail.bloor.is.net.cable.rogers.com@BillDell>


C:\Documents and Settings\Bill>Perl -v

This is perl, v5.8.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2002, Larry Wall

Binary build 802 provided by ActiveState Corp. http://www.ActiveState.com
Built 00:54:02 Nov  8 2002


Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


C:\Documents and Settings\Bill>perl -e "$a="A" x 256; system($a)" 


===========crashes with instruction at ox78f... Referenced memory at
0x41414141
 so it is a stqack overflow. Haven't tried to exploit it yet.


-----Original Message-----
From: full-disclosure-admin@lists.netsys.com
[mailto:full-disclosure-admin@lists.netsys.com] On Behalf Of
rich.sf@lclogic.com
Sent: May 17, 2004 8:59 PM
To: Oliver@greyhat.de
Cc: full-disclosure@lists.netsys.com; bugtraq@securityfocus.com
Subject: [Full-Disclosure] Re: Buffer Overflow in ActivePerl ?

Reproduced with 5.6.1/win95.

On Mon, 17 May 2004, Oliver@greyhat.de wrote:

> Date: Mon, 17 May 2004 22:23:56 +0200
> From: "Oliver@greyhat.de" <Oliver@greyhat.de>
> To: full-disclosure@lists.netsys.com
> Cc: bugtraq@securityfocus.com
> Subject: Buffer Overflow in ActivePerl ?
>
> hi folks,
>
> i played around with ActiveState's ActivePerl for Win32, and crashed
> Perl.exe with the following command:
>
> perl -e "$a="A" x 256; system($a)"
>
> I wonder if this bug isnt known?!? Because system() is a very common
> command....
> Can anybody reproduce this?
>
> I put together a little advisory on my website, including version
> information and a debugger output (Drwatson):
>
>     http://www.oliverkarow.de/research/ActivePerlSystemBOF.txt
>
>
> PS:  Due to travel activity, i will not be able to respond to mails
> within the next 8 days!
>
> Regards,
>
> Oliver
>

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


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