SecurityContext

CVE-2007-2438: Vim - Command Injection

  • Cve: CVE-2007-2438
  • Name: Vim - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary shell commands and write files, leading to potential system compromise.
  • Remediation: Restrict or disable dangerous functions in the sandbox configuration.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: user_interaction
  • Requirements: Attacker needs user interaction to exploit
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.6
  • Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:C/I:C/A:C
  • Epss score: 0.03221
  • Epss percentile: 0.88549
  • Assignee: [email protected]
  • Published at: 2007-05-02T21:19:00Z
  • Age in days: 7146
  • Modified at: 2026-06-16T22:39:35Z
  • Public exploits total: 1
  • References total: 30
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-2438
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://marc.info/?l=vim-dev&m=117778983714029&w=2nvd2007-05-02

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/25024Vendor Advisory
http://secunia.com/advisories/25159Vendor Advisory
http://secunia.com/advisories/25182Vendor Advisory
http://secunia.com/advisories/25255Vendor Advisory
http://marc.info/?l=vim-dev&m=117778983714029&w=2Exploit
http://attrition.org/pipermail/vim/2007-May/001614.html
http://marc.info/?l=vim-dev&m=117762581821298&w=2
http://osvdb.org/36250
http://secunia.com/advisories/25367
http://secunia.com/advisories/25432

Products

ProductAffectedPlatform boundSourcesUrl
vim_development_group:vim= 7.0yesnvd/v1/products/vim_development_group/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2007-05-02
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts