Description
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."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vim | No fix yet | — |
| Debian 13 | vim | No fix yet | — |
| Debian 12 | vim | No fix yet | — |
References
- 30670 vdb-entry
- SUSE-SR:2009:007 vendor-advisory
- 31464 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=461750
- [vim_dev] 20080817 Re: Anyone fixing SA31464? mailing-list
- [oss-security] 20081020 CVE request (vim) mailing-list
- [oss-security] 20081016 CVE request - Vim netrw.plugin mailing-list
- 20080812 Vim: Netrw: FTP User Name and Password Disclosure mailing-list
- ADV-2008-2379 vdb-entry
- 34418 third-party-advisory
- [oss-security] 20081006 CVE request - (vim : netrw plugin - ftp user credentials disclosure) mailing-list
- 20080812 Re: Vim: Netrw: FTP User Name and Password Disclosure mailing-list
- MDVSA-2008:236 vendor-advisory
- http://www.rdancer.org/vulnerablevim-netrw-credentials-dis.html
- vim-netrw-ftp-information-disclosure(44419) vdb-entry