{"id":"CVE-2007-2438","sourceIdentifier":"secalert@redhat.com","published":"2007-05-02T21:19:00.000","lastModified":"2026-06-16T22:39:35.010","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"El sandbox para el vim permite funciones peligrosas como (1) writefile, (2) feedkeys, y (3) system, lo que permite a atacantes con la intervención del usuario la ejecución de comandos shell y escribir ficheros a través de modelines."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:C/I:C/A:C","baseScore":7.6,"accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":4.9,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:o:foresight_linux:foresight_linux:1.1:*:*:*:*:*:*:*","matchCriteriaId":"52F637E4-13E6-4B05-9F8A-A1D408ED4CF2"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vim_development_group:vim:7.0:*:*:*:*:*:*:*","matchCriteriaId":"4A9EFB35-7AFD-4306-BC1C-EB5C984F4B3C"}]}]}],"references":[{"url":"http://attrition.org/pipermail/vim/2007-May/001614.html","source":"secalert@redhat.com"},{"url":"http://marc.info/?l=vim-dev&m=117762581821298&w=2","source":"secalert@redhat.com"},{"url":"http://marc.info/?l=vim-dev&m=117778983714029&w=2","source":"secalert@redhat.com","tags":["Exploit"]},{"url":"http://osvdb.org/36250","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/25024","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25159","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25182","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25255","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25367","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/25432","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/26653","source":"secalert@redhat.com"},{"url":"http://tech.groups.yahoo.com/group/vimannounce/message/178","source":"secalert@redhat.com"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46627","source":"secalert@redhat.com"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46645","source":"secalert@redhat.com"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46658","source":"secalert@redhat.com"},{"url":"http://www.attrition.org/pipermail/vim/2007-August/001770.html","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2007/dsa-1364","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:101","source":"secalert@redhat.com"},{"url":"http://www.novell.com/linux/security/advisories/2007_12_sr.html","source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0346.html","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/archive/1/467202/100/0/threaded","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/23725","source":"secalert@redhat.com"},{"url":"http://www.securitytracker.com/id?1018035","source":"secalert@redhat.com"},{"url":"http://www.trustix.org/errata/2007/0017/","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/usn-463-1","source":"secalert@redhat.com"},{"url":"http://www.vim.org/news/news.php","source":"secalert@redhat.com"},{"url":"http://www.vupen.com/english/advisories/2007/1599","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259","source":"secalert@redhat.com"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34012","source":"secalert@redhat.com"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9876","source":"secalert@redhat.com"},{"url":"http://attrition.org/pipermail/vim/2007-May/001614.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=vim-dev&m=117762581821298&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=vim-dev&m=117778983714029&w=2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://osvdb.org/36250","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25024","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25159","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25182","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25255","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/25367","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25432","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26653","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://tech.groups.yahoo.com/group/vimannounce/message/178","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46627","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46645","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://tech.groups.yahoo.com/group/vimdev/message/46658","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.attrition.org/pipermail/vim/2007-August/001770.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2007/dsa-1364","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:101","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2007_12_sr.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0346.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/467202/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/23725","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1018035","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.trustix.org/errata/2007/0017/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/usn-463-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vim.org/news/news.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/1599","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34012","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9876","source":"af854a3a-2127-422b-91ae-364da2661108"}],"evaluatorSolution":"The vendor has addressed this issue with the following patches:\r\n\r\nVIM Development Group VIM 7.0-\r\n\r\nVIM Development Group patch 7.0.234\r\nftp://ftp.vim.org/pub/vim/patches/7.0/7.0.234\r\n\r\nVIM Development Group patch 7.0.235\r\nftp://ftp.vim.org/pub/vim/patches/7.0/7.0.235\r\n","evaluatorImpact":"Successful exploitation requires that the \"modelines\" option is enabled and the user is tricked into opening a malicious file."}