Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 01:47:47 -0500 (EST)
From:      Mike Heffner <mheffner@mailandnews.com>
To:        FreeBSD-audit <FreeBSD-audit@freebsd.org>
Subject:   Binary tester - and some oflows
Message-ID:  <XFMail.20000222014747.mheffner@mailandnews.com>

next in thread | raw e-mail | index | archive | help

Well, for some kicks I've put together a simple binary testing program. It can
test argument overflows and environment variable overflows. Also, if run
together with l0pht-watch it can give you a good idea of programs that use
inseucre tempfile handling.

If anyone wants to check it out:
http://my.ispchannel.com/~mheffner/bfbtester-1.0.tar.gz
or view the README at:
http://my.ispchannel.com/~mheffner/README.bfbtester

Currently I've run it through /usr/bin (took about 20 hours) and found the
following, (these are in addition to the ones Thomas Stromberg found):

 usr.bin/kzip
                 Arg overflow 
                 Ex: kzip [5120]
 usr.bin/lam
                 Arg overflow 
                 Ex: lam -[PFfp] [51200]
 usr.bin/ld
                 Arg overflow 
                 Ex: ld -L [10240] -T blah
 usr.bin/minigzip
                 Arg overflow 
                 Ex: minigzip -d [5120]
 contrib/ntp/ntpq
                 Arg overflow 
                 Ex: ntpq -c [51200]
 usr/bin/openssl
                 Arg overflow 
                 Ex: openssl [51200]
 gnu/usr.bin/ptx
                 Lots of arg overflows 
                 Ex: ptx -[FMSWgw] [5120]
 usr.bin/telnet
                 Arg overflow 
                 Ex: telnet -X [5120]
 usr.bin/ftp, gate-ftp, 
 pftp
                 Arg overflow 
                 Ex: ftp [10240]
 usr.bin/global
                 Env. overflow in MAKEOBJDIR and MAKEOBJDIRPREFIX 
                 Ex: MAKEOBJDIR=[10240] global blah
 gnu/usr.bin/binutils/addr2line
                 Arg overflow 
                 Ex: addr2line -s [5120] 
                 Note: A valid 'a.out' file must exist in current dir.
 usr.bin/units
                 Args overflow 
                 Ex: units [10240] [10240]


/****************************************
 * Mike Heffner <spock@techfour.net>    *
 * Fredericksburg, VA                   *
 * ICQ# 882073                          *
 * Sent at: 22-Feb-2000 -- 01:37:21 EST *
 ****************************************/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20000222014747.mheffner>