splitvt Format String Vulnerability
BID:2210
Info
splitvt Format String Vulnerability
| Bugtraq ID: | 2210 |
| Class: | Access Validation Error |
| CVE: |
CVE-2001-0111 CVE-2001-0112 |
| Remote: | No |
| Local: | Yes |
| Published: | Jan 16 2001 12:00AM |
| Updated: | Jul 11 2009 04:46AM |
| Credit: | This vulnerability was first discovered by fish stiqz <[email protected]> and Michel "MaXX" Kaempf <[email protected]>, and was announced by Michel "MaXX" Kaempf <[email protected]> on January 14, 2001 via Bugtraq. |
| Vulnerable: |
Sam Lantinga splitvt 1.6.4 Debian Linux 2.2 sparc Debian Linux 2.2 powerpc Debian Linux 2.2 arm Debian Linux 2.2 alpha Debian Linux 2.2 68k Debian Linux 2.2 |
| Not Vulnerable: | |
Discussion
splitvt Format String Vulnerability
splitvt is a VT100 window splitter, designed to allow the user two command line interfaces in one terminal window, originally written by Sam Lantinga. It is freely available, open source, and included with many variants of the Linux Operating System.
A problem in the program could allow for a format string attack. The problem occurs in the handling of format strings by the -rcfile command line flag. By placing shellcode in the $HOME environment variable, and generating a custom crafted request to the splitvt program it is possible to overwrite variables on the stack, and arbitrarily execute code contained in the $HOME environment variable. This makes it possible for a user with malicious motives to execute arbitrary code, and in implementations with the splitvt binary installed SUID root, gain administrative privileges. There are also various reported buffer overflows in the code. These have been addressed in the new release.
splitvt is a VT100 window splitter, designed to allow the user two command line interfaces in one terminal window, originally written by Sam Lantinga. It is freely available, open source, and included with many variants of the Linux Operating System.
A problem in the program could allow for a format string attack. The problem occurs in the handling of format strings by the -rcfile command line flag. By placing shellcode in the $HOME environment variable, and generating a custom crafted request to the splitvt program it is possible to overwrite variables on the stack, and arbitrarily execute code contained in the $HOME environment variable. This makes it possible for a user with malicious motives to execute arbitrary code, and in implementations with the splitvt binary installed SUID root, gain administrative privileges. There are also various reported buffer overflows in the code. These have been addressed in the new release.
Exploit / POC
splitvt Format String Vulnerability
This exploit was provided by Michel Kaempf <[email protected]> on January 14, 2001:
This exploit was provided by Michel Kaempf <[email protected]> on January 14, 2001:
Solution / Fix
splitvt Format String Vulnerability
Solution:
Upgrades available:
Sam Lantinga splitvt 1.6.4
Debian Linux 2.2
Debian Linux 2.2 alpha
Debian Linux 2.2 sparc
Debian Linux 2.2 arm
Debian Linux 2.2 68k
Debian Linux 2.2 powerpc
Solution:
Upgrades available:
Sam Lantinga splitvt 1.6.4
-
Sam Lantinga splitvt source splitvt-1.6.5.tar.gz
http://www.devolution.com/~slouken/projects/splitvt/splitvt-1.6.5.tar. gz
Debian Linux 2.2
-
Debian 2.2 i386 splitvt_1.6.5-0potato1_i386.deb
http://security.debian.org/dists/stable/updates/main/binary-i386/split vt_1.6.5-0potato1_i386.deb
Debian Linux 2.2 alpha
-
Debian 2.2 alpha splitvt_1.6.5-0potato1_alpha.deb
http://security.debian.org/dists/stable/updates/main/binary-alpha/spli tvt_1.6.5-0potato1_alpha.deb
Debian Linux 2.2 sparc
-
Debian 2.2 sparc splitvt_1.6.5-0potato1_sparc.deb
http://security.debian.org/dists/stable/updates/main/binary-sparc/spli tvt_1.6.5-0potato1_sparc.deb
Debian Linux 2.2 arm
-
Debian 2.2 arm splitvt_1.6.5-0potato1_arm.deb
http://security.debian.org/dists/stable/updates/main/binary-arm/splitv t_1.6.5-0potato1_arm.deb
Debian Linux 2.2 68k
-
Debian 2.2 m68k splitvt_1.6.5-0potato1_m68k.deb
http://security.debian.org/dists/stable/updates/main/binary-m68k/split vt_1.6.5-0potato1_m68k.deb
Debian Linux 2.2 powerpc
-
Debian 2.2 ppc splitvt_1.6.5-0potato1_powerpc.deb
http://security.debian.org/dists/stable/updates/main/binary-powerpc/sp litvt_1.6.5-0potato1_powerpc.deb
References
splitvt Format String Vulnerability
References:
References: