CVE-2008-4677
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…
Check your servers for CVE-2008-4677
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-4677 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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."
Exploitation
EPSS 1.95%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.9% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-4677 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-4677RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-4677Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-4677
trivy image --scanners vuln IMAGE | grep CVE-2008-4677
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- SUSE-SR:2009:007 lists.opensuse.org · vendor advisory
- 31464 secunia.com · third party advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=461750 bugzilla.redhat.com
- 34418 secunia.com · third party advisory
- MDVSA-2008:236 mandriva.com · vendor advisory
Other references
- 30670 securityfocus.com · vdb entry
- [vim_dev] 20080817 Re: Anyone fixing SA31464? groups.google.com · mailing list
- [oss-security] 20081020 CVE request (vim) openwall.com · mailing list
- [oss-security] 20081016 CVE request - Vim netrw.plugin openwall.com · mailing list
- 20080812 Vim: Netrw: FTP User Name and Password Disclosure securityfocus.com · mailing list
- ADV-2008-2379 vupen.com · vdb entry
- [oss-security] 20081006 CVE request - (vim : netrw plugin - ftp user credentials disclosure) openwall.com · mailing list
- 20080812 Re: Vim: Netrw: FTP User Name and Password Disclosure securityfocus.com · mailing list
- http://www.rdancer.org/vulnerablevim-netrw-credentials-dis.html rdancer.org
- vim-netrw-ftp-information-disclosure(44419) exchange.xforce.ibmcloud.com · vdb entry
Source: the record CVE-2008-4677 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse