Full Disclosure mailing list archives

Re: Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability


From: Marcus Meissner <meissner () suse de>
Date: Thu, 15 Mar 2007 15:18:18 +0100

On Thu, Mar 15, 2007 at 02:16:41PM +0200, Ismail Dönmez wrote:
On Thursday 15 March 2007 04:26:29 James Matthews wrote:
and you would think some bugs we got rid of in open source software!

str{cpy,cat,...} which don't take an size attribute should be removed from 
standard libc, I don't see why people still insist on using this insecure 
variants.

Thanks to _FORTIFY_SOURCE strcpy and strcat to fixed size buffers are
at least protected now.

I however fail to see two things:
- is minigzip included anywhere?

- If you can exploit it by passing stuff on the commandline, I have
  much simpler exploit for you too:

        minigzip /dev/null; echo 0wN3d\!

Ciao, Marcus

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


Current thread: