Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
BID:12253
Info
Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
| Bugtraq ID: | 12253 |
| Class: | Design Error |
| CVE: |
CVE-2005-0069 |
| Remote: | No |
| Local: | Yes |
| Published: | Jan 13 2005 12:00AM |
| Updated: | Jul 12 2009 09:27AM |
| Credit: | Discovery of this vulnerability is credited to Javier Fernández-Sanguino Peña. |
| Vulnerable: |
VIM Development Group VIM 6.3 .045 VIM Development Group VIM 6.3 .044 VIM Development Group VIM 6.3 .030 VIM Development Group VIM 6.3 .025 VIM Development Group VIM 6.3 .011 VIM Development Group VIM 6.3 VIM Development Group VIM 6.2 VIM Development Group VIM 6.1 VIM Development Group VIM 6.0 Trustix Secure Linux 2.2 Trustix Secure Linux 2.1 Trustix Secure Enterprise Linux 2.0 SGI Advanced Linux Environment 3.0 Redhat Enterprise Linux WS 3 Redhat Enterprise Linux WS 2.1 IA64 Redhat Enterprise Linux WS 2.1 Redhat Enterprise Linux ES 3 Redhat Enterprise Linux ES 2.1 IA64 Redhat Enterprise Linux ES 2.1 Redhat Enterprise Linux AS 3 Redhat Enterprise Linux AS 2.1 IA64 Redhat Enterprise Linux AS 2.1 Redhat Desktop 3.0 Redhat Advanced Workstation for the Itanium Processor 2.1 IA64 Redhat Advanced Workstation for the Itanium Processor 2.1 |
| Not Vulnerable: | |
Discussion
Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
Multiple Vim scripts are reported prone to an insecure temporary file creation vulnerability. It is reported that the Vim 'tcltags' and 'vimspell.sh' scripts create temporary files in an insecure manner.
An attacker that has local interactive access to a system may exploit this issue to corrupt arbitrary files with the privileges of the user that is invoking the vulnerable application.
Multiple Vim scripts are reported prone to an insecure temporary file creation vulnerability. It is reported that the Vim 'tcltags' and 'vimspell.sh' scripts create temporary files in an insecure manner.
An attacker that has local interactive access to a system may exploit this issue to corrupt arbitrary files with the privileges of the user that is invoking the vulnerable application.
Exploit / POC
Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
No exploit is required.
No exploit is required.
Solution / Fix
Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
Solution:
Red Hat has released advisory RHSA-2005:122-04 and fixes to address this issue on Red Hat Linux Enterprise platforms. Customers who are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.
Ubuntu Linux has made advisory USN-61-1 along with fixes available dealing with this issue. Please see the referenced advisory for more information.
Mandrake has released advisory MDKSA-2005:029 to address this issue. Please see the referenced advisory for more information.
Fedora Legacy has released advisory FLSA:2343 to adress this issue for various Red Hat Linux releases and Fedora Core 1. Please see the referenced advisory for further information.
Silicon Graphics has released advisory 20050204-01-U dealing with this and other issues for their Advanced Linux Environment packages. Please see the referenced advisories for more information.
Trustix has released advisory TSLSA-2005-0018 to address this and other issues. Please see the referenced advisory for more information.
VIM Development Group VIM 6.1
VIM Development Group VIM 6.2
VIM Development Group VIM 6.3 .025
VIM Development Group VIM 6.3
Solution:
Red Hat has released advisory RHSA-2005:122-04 and fixes to address this issue on Red Hat Linux Enterprise platforms. Customers who are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.
Ubuntu Linux has made advisory USN-61-1 along with fixes available dealing with this issue. Please see the referenced advisory for more information.
Mandrake has released advisory MDKSA-2005:029 to address this issue. Please see the referenced advisory for more information.
Fedora Legacy has released advisory FLSA:2343 to adress this issue for various Red Hat Linux releases and Fedora Core 1. Please see the referenced advisory for further information.
Silicon Graphics has released advisory 20050204-01-U dealing with this and other issues for their Advanced Linux Environment packages. Please see the referenced advisories for more information.
Trustix has released advisory TSLSA-2005-0018 to address this and other issues. Please see the referenced advisory for more information.
VIM Development Group VIM 6.1
-
Mandrake vim-common-6.1-34.4.C21mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-common-6.1-34.4.C21mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.1-34.4.C21mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.1-34.4.C21mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.1-34.4.C21mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.1-34.4.C21mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.1-34.4.C21mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.1-34.4.C21mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
RedHat vim-common-6.1-18.7x.2.3.legacy.i386.rpm
RedHat Linux 7.3
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-common-6. 1-18.7x.2.3.legacy.i386.rpm -
RedHat vim-common-6.1-29.3.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-common-6.1- 29.3.legacy.i386.rpm -
RedHat vim-enhanced-6.1-18.7x.2.3.legacy.i386.rpm
RedHat Linux 7.3
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-enhanced- 6.1-18.7x.2.3.legacy.i386.rpm -
RedHat vim-enhanced-6.1-29.3.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-enhanced-6. 1-29.3.legacy.i386.rpm -
RedHat vim-minimal-6.1-18.7x.2.3.legacy.i386.rpm
RedHat Linux 7.3
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-minimal-6 .1-18.7x.2.3.legacy.i386.rpm -
RedHat vim-minimal-6.1-29.3.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-minimal-6.1 -29.3.legacy.i386.rpm -
RedHat vim-X11-6.1-18.7x.2.3.legacy.i386.rpm
RedHat Linux 7.3
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-minimal-6 .1-18.7x.2.3.legacy.i386.rpm -
RedHat vim-X11-6.1-29.3.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-X11-6.1-29. 3.legacy.i386.rpm
VIM Development Group VIM 6.2
-
Mandrake vim-common-6.2-14.3.100mdk.amd64.rpm
Mandrake Linux 10.0/amd64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-common-6.2-14.3.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-common-6.2-14.3.C30mdk.i586.rpm
Mandrake Corporate Server 3.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-common-6.2-14.3.C30mdk.x86_64.rpm
Mandrake Corporate Server 3.0/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.2-14.3.100mdk.amd64.rpm
Mandrake Linux 10.0/amd64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.2-14.3.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.2-14.3.C30mdk.i586.rpm
Mandrake Corporate Server 3.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.2-14.3.C30mdk.x86_64.rpm
Mandrake Corporate Server 3.0/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.2-14.3.100mdk.amd64.rpm
Mandrake Linux 10.0/amd64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.2-14.3.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.2-14.3.C30mdk.i586.rpm
Mandrake Corporate Server 3.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.2-14.3.C30mdk.x86_64.rpm
Mandrake Corporate Server 3.0/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.2-14.3.100mdk.amd64.rpm
Mandrake Linux 10.0/amd64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.2-14.3.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.2-14.3.C30mdk.i586.rpm
Mandrake Corporate Server 3.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.2-14.3.C30mdk.x86_64.rpm
Mandrake Corporate Server 3.0/x86_64
http://www.mandrakesecure.net/en/ftp.php -
RedHat vim-common-6.2.532-1.3.legacy.i386.rpm
RedHat Fedora Core 1
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-common-6.2. 532-1.3.legacy.i386.rpm -
RedHat vim-enhanced-6.2.532-1.3.legacy.i386.rpm
RedHat Fedora Core 1
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-enhanced-6. 2.532-1.3.legacy.i386.rpm -
RedHat vim-minimal-6.2.532-1.3.legacy.i386.rpm
RedHat Fedora Core 1
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-minimal-6.2 .532-1.3.legacy.i386.rpm -
RedHat vim-X11-6.2.532-1.3.legacy.i386.rpm
RedHat Fedora Core 1
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-X11-6.2.532 -1.3.legacy.i386.rpm
VIM Development Group VIM 6.3 .025
-
Ubuntu kvim_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/kvim_6.3-025+1ub untu2.2_amd64.deb -
Ubuntu kvim_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/kvim_6.3-025+1ub untu2.2_i386.deb -
Ubuntu kvim_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/kvim_6.3-025+1ub untu2.2_powerpc.deb -
Ubuntu vim-common_6.3-025+1ubuntu2.2_all.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-common_6.3-025+1 ubuntu2.2_all.deb -
Ubuntu vim-doc_6.3-025+1ubuntu2.2_all.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-doc_6.3-025+1ubu ntu2.2_all.deb -
Ubuntu vim-gnome_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-gnome_6.3-025+1u buntu2.2_amd64.deb -
Ubuntu vim-gnome_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-gnome_6.3-025+1u buntu2.2_i386.deb -
Ubuntu vim-gnome_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim-gnome_6.3-025+1u buntu2.2_powerpc.deb -
Ubuntu vim-gtk_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-gtk_6.3-025+ 1ubuntu2.2_amd64.deb -
Ubuntu vim-gtk_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-gtk_6.3-025+ 1ubuntu2.2_i386.deb -
Ubuntu vim-gtk_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-gtk_6.3-025+ 1ubuntu2.2_powerpc.deb -
Ubuntu vim-lesstif_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-lesstif_6.3- 025+1ubuntu2.2_amd64.deb -
Ubuntu vim-lesstif_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-lesstif_6.3- 025+1ubuntu2.2_i386.deb -
Ubuntu vim-lesstif_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-lesstif_6.3- 025+1ubuntu2.2_powerpc.deb -
Ubuntu vim-perl_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-perl_6.3-025 +1ubuntu2.2_amd64.deb -
Ubuntu vim-perl_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-perl_6.3-025 +1ubuntu2.2_i386.deb -
Ubuntu vim-perl_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-perl_6.3-025 +1ubuntu2.2_powerpc.deb -
Ubuntu vim-python_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-python_6.3-0 25+1ubuntu2.2_amd64.deb -
Ubuntu vim-python_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-python_6.3-0 25+1ubuntu2.2_i386.deb -
Ubuntu vim-python_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-python_6.3-0 25+1ubuntu2.2_powerpc.deb -
Ubuntu vim-tcl_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-tcl_6.3-025+ 1ubuntu2.2_amd64.deb -
Ubuntu vim-tcl_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-tcl_6.3-025+ 1ubuntu2.2_i386.deb -
Ubuntu vim-tcl_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/universe/v/vim/vim-tcl_6.3-025+ 1ubuntu2.2_powerpc.deb -
Ubuntu vim_6.3-025+1ubuntu2.2_amd64.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim_6.3-025+1ubuntu2 .2_amd64.deb -
Ubuntu vim_6.3-025+1ubuntu2.2_i386.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim_6.3-025+1ubuntu2 .2_i386.deb -
Ubuntu vim_6.3-025+1ubuntu2.2_powerpc.deb
Ubuntu 4.10 (Warty Warthog)
http://security.ubuntu.com/ubuntu/pool/main/v/vim/vim_6.3-025+1ubuntu2 .2_powerpc.deb
VIM Development Group VIM 6.3
-
Mandrake vim-common-6.3-5.3.101mdk.i586.rpm
Mandrake Linux 10.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-common-6.3-5.3.101mdk.x86_64.rpm
Mandrake Linux 10.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.3-5.3.101mdk.i586.rpm
Mandrake Linux 10.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-enhanced-6.3-5.3.101mdk.x86_64.rpm
Mandrake Linux 10.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.3-5.3.101mdk.i586.rpm
Mandrake Linux 10.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-minimal-6.3-5.3.101mdk.x86_64.rpm
Mandrake Linux 10.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.3-5.3.101mdk.i586.rpm
Mandrake Linux 10.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake vim-X11-6.3-5.3.101mdk.x86_64.rpm
Mandrake Linux 10.1/x86_64
http://www.mandrakesecure.net/en/ftp.php
References
Vim TCLTags and VimSpell.sh Scripts Insecure Temporary File Creation Vulnerability
References:
References:
- RHSA-2005:122-04 - vim security update (Red Hat)
- VIM Homepage (VIM Development Group)