18 Jul 00:51
Vim: Insecure Temporary File Creation During Build: Arbitrary Code Execution
From: Jan Minář <rdancer <at> rdancer.org>
Subject: Vim: Insecure Temporary File Creation During Build: Arbitrary Code Execution
Newsgroups: gmane.comp.security.full-disclosure, gmane.editors.vim.devel, gmane.comp.security.bugtraq
Date: 2008-07-17 22:54:18 GMT
Subject: Vim: Insecure Temporary File Creation During Build: Arbitrary Code Execution
Newsgroups: gmane.comp.security.full-disclosure, gmane.editors.vim.devel, gmane.comp.security.bugtraq
Date: 2008-07-17 22:54:18 GMT
1. Summary Product : Vim -- Vi IMproved Versions : 5.0--current, possibly older; 4.6 and 3.0 not vulnerable Impact : Arbitrary code execution Wherefrom: Local Original : http://www.rdancer.org/vulnerablevim-configure.in.html http://www.rdancer.org/vulnerablevim-configure.in.patch Insecure temporary file creation during the build process is vulnerable to symbolic link attacks, and arbitrary code execution. Patch provided. 2. Background ``Vim is an almost compatible version of the UNIX editor Vi. Many new features have been added: multi-level undo, syntax highlighting, command line history, on-line help, spell checking, filename completion, block operations, etc.'' -- VIM ``README.txt'' 3. Vulnerability During the build process, a temporary file with a predictable name is created in the ``/tmp'' directory. This code is run when Vim is being build with Python support: src/configure.in: 677 dnl -- we need to examine Python's config/Makefile too 678 dnl see what the interpreter is built from(Continue reading)
RSS Feed