CVE-2008-4677Vim Netrw
Medium 4.3 No auth needed
Follow: this CVE · Vim · Vim Netrw We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Oct 22, 2008
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-255
- Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
What happens
autoload/netrw.vim (aka the Netrw Plugin) 109, 131, and other versions before 133k for Vim 7.1.266, other 7.1 versions, and 7.2 stores credentials for an FTP session, and sends those credentials when attempting to establish subsequent FTP sessions to servers on different hosts, which allows remote FTP servers to obtain sensitive information in opportunistic circumstances by logging usernames and passwords. NOTE: the upstream vendor disputes a vector involving different ports on the same host, stating "I'm assuming that they're using the same id and password on that unchanged hostname, deliberately."
What to do
- Apply the vendor's security update for Netrw.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vim | netrw | 109 |
| vim | netrw | 110 |
| vim | netrw | 111 |
| vim | netrw | 112 |
| vim | netrw | 113 |
| vim | netrw | 114 |
| vim | netrw | 115 |
| vim | netrw | 116 |
| vim | netrw | 118 |
| vim | netrw | 120 |
| vim | netrw | 121 |
| vim | netrw | 122 |
| vim | netrw | 123 |
| vim | netrw | 128 |
| vim | netrw | 131 |
Official sources
References
Links published by the sources. Open them with care.