CVE-2007-2438 The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.
HighCVSS 7.6
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/vim(Debian 12) | < 1:7.1-022+1 | 1:7.1-022+1 | Fixed |
| debian/vim(Debian 13) | < 1:7.1-022+1 | 1:7.1-022+1 | Fixed |
| debian/vim(Debian 14) | < 1:7.1-022+1 | 1:7.1-022+1 | Fixed |
| vim development group vim | = 7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim development group vim | = 7.0 | No fix listed |
| debian/vim(Debian:12) | < 1:7.1-022+1 | 1:7.1-022+1 |
| debian/vim(Debian:13) | < 1:7.1-022+1 | 1:7.1-022+1 |
| debian/vim(Debian:14) | < 1:7.1-022+1 | 1:7.1-022+1 |
References
- 20070513 OMG VIM VULN mailing-list
- [vim-dev] 20070426 feedkeys() allowed in sandbox mailing-list
- [vim-dev] 20070428 Re: feedkeys() allowed in sandbox exploit mailing-list
- 36250 vdb-entry
- 25024 third-party-advisory vendor-advisory
- 25159 third-party-advisory vendor-advisory
- 25182 third-party-advisory vendor-advisory
- 25255 third-party-advisory vendor-advisory
- 25367 third-party-advisory
- 25432 third-party-advisory
- 26653 third-party-advisory
- [vimannounce] 20070512 Stable Vim version 7.1 has been released mailing-list
- tech.groups.yahoo.com
- tech.groups.yahoo.com
- tech.groups.yahoo.com
- 20070823 vim editor duplicates / clarifications mailing-list
- DSA-1364 vendor-advisory
- MDKSA-2007:101 vendor-advisory
- SUSE-SR:2007:012 vendor-advisory
- RHSA-2007:0346 vendor-advisory
- 20070430 FLEA-2007-0014-1: vim mailing-list
- 23725 vdb-entry
- 1018035 vdb-entry
- 2007-0017 vendor-advisory
- USN-463-1 vendor-advisory
- www.vim.org
- ADV-2007-1599 vdb-entry
- bugzilla.redhat.com
- vim-feedkeyswritefile-command-execution(34012) vdb-entry
- oval:org.mitre.oval:def:9876 signature vdb-entry
- Debian Security Tracker CVE-2007-2438 vendor-advisory
- bugs.debian.org issue-tracking