U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2007-2438 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Evaluator Impact

Successful exploitation requires that the "modelines" option is enabled and the user is tricked into opening a malicious file.

Evaluator Solution

The vendor has addressed this issue with the following patches: VIM Development Group VIM 7.0- VIM Development Group patch 7.0.234 ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.234 VIM Development Group patch 7.0.235 ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.235

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://attrition.org/pipermail/vim/2007-May/001614.html
http://attrition.org/pipermail/vim/2007-May/001614.html
http://marc.info/?l=vim-dev&m=117762581821298&w=2
http://marc.info/?l=vim-dev&m=117762581821298&w=2
http://marc.info/?l=vim-dev&m=117778983714029&w=2 Exploit 
http://marc.info/?l=vim-dev&m=117778983714029&w=2 Exploit 
http://osvdb.org/36250
http://osvdb.org/36250
http://secunia.com/advisories/25024 Vendor Advisory 
http://secunia.com/advisories/25024 Vendor Advisory 
http://secunia.com/advisories/25159 Vendor Advisory 
http://secunia.com/advisories/25159 Vendor Advisory 
http://secunia.com/advisories/25182 Vendor Advisory 
http://secunia.com/advisories/25182 Vendor Advisory 
http://secunia.com/advisories/25255 Vendor Advisory 
http://secunia.com/advisories/25255 Vendor Advisory 
http://secunia.com/advisories/25367
http://secunia.com/advisories/25367
http://secunia.com/advisories/25432
http://secunia.com/advisories/25432
http://secunia.com/advisories/26653
http://secunia.com/advisories/26653
http://tech.groups.yahoo.com/group/vimannounce/message/178
http://tech.groups.yahoo.com/group/vimannounce/message/178
http://tech.groups.yahoo.com/group/vimdev/message/46627
http://tech.groups.yahoo.com/group/vimdev/message/46627
http://tech.groups.yahoo.com/group/vimdev/message/46645
http://tech.groups.yahoo.com/group/vimdev/message/46645
http://tech.groups.yahoo.com/group/vimdev/message/46658
http://tech.groups.yahoo.com/group/vimdev/message/46658
http://www.attrition.org/pipermail/vim/2007-August/001770.html
http://www.attrition.org/pipermail/vim/2007-August/001770.html
http://www.debian.org/security/2007/dsa-1364
http://www.debian.org/security/2007/dsa-1364
http://www.mandriva.com/security/advisories?name=MDKSA-2007:101
http://www.mandriva.com/security/advisories?name=MDKSA-2007:101
http://www.novell.com/linux/security/advisories/2007_12_sr.html
http://www.novell.com/linux/security/advisories/2007_12_sr.html
http://www.redhat.com/support/errata/RHSA-2007-0346.html
http://www.redhat.com/support/errata/RHSA-2007-0346.html
http://www.securityfocus.com/archive/1/467202/100/0/threaded
http://www.securityfocus.com/archive/1/467202/100/0/threaded
http://www.securityfocus.com/bid/23725
http://www.securityfocus.com/bid/23725
http://www.securitytracker.com/id?1018035
http://www.securitytracker.com/id?1018035
http://www.trustix.org/errata/2007/0017/
http://www.trustix.org/errata/2007/0017/
http://www.ubuntu.com/usn/usn-463-1
http://www.ubuntu.com/usn/usn-463-1
http://www.vim.org/news/news.php
http://www.vim.org/news/news.php
http://www.vupen.com/english/advisories/2007/1599
http://www.vupen.com/english/advisories/2007/1599
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259
https://exchange.xforce.ibmcloud.com/vulnerabilities/34012
https://exchange.xforce.ibmcloud.com/vulnerabilities/34012
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9876
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9876

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-2438
NVD Published Date:
05/02/2007
NVD Last Modified:
11/20/2024
Source:
Red Hat, Inc.