CVE-2008-4677: Medium severity suse vim vulnerability

Published Sep 10, 2008
·
Updated

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."

Other sources

Description of problem (pasted from original rdancer.org vim vulnerability description -- see references):

The Vim Netrw Plugin shares the FTP user name and password across all FTP sessions. Every time Vim makes a new FTP connection, it sends the user name and password of the previous FTP session to the FTP server.

Once vim successfully connects to an FTP server using a user name and password credentials, it will re-use them in all subsequent FTP sessions, regardless of the domain name or TCP port.

This behaviour is documented, although the documentation states the credentials are retained on a per-session basis''. Apparently the Vim session, not the FTP session:

g:netrwuid (ftp) user-id, retained on a per-session basis s:netrwpasswd (ftp) password, retained on a per-session basis''

-- Netrw Reference Manual (pinetrw.txt'')

Although FTP communication is not encrypted and therefore open to eavesdropping, if the access to the network is protected, a credentials-based access control is meaningful, and the credentials must be kept secret.

Version-Release number of selected component (if applicable): 7.1.266, 7.2 and earlier versions of Vim

How reproducible: Always

Steps to Reproduce: 1. See "4. EXPLOIT" from the rdancer vim vulnerability report [1] Actual results: Credentials disclosure.

Expected results: Credentials are kept secret.

References (rdancer.org vim original vulnerability report):

[1] http://www.rdancer.org/vulnerablevim-netrw-credentials-dis.html

Red Hat

Affected Software

18 affected components
vim Vim=7.1
vim Vim=7.1.266
vim Vim=7.2
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

Event History

Sep 10, 2008
Data Sourced
via Red Hat·12:36 PM
DescriptionSeverityAffected Software
Oct 22, 2008
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
06:00 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2008-4677?

CVE-2008-4677 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2008-4677?

To fix CVE-2008-4677, update to a patched version of Vim that includes the security fixes addressing this issue.

3

What versions are affected by CVE-2008-4677?

CVE-2008-4677 affects the Netrw Plugin versions 109, 131, and earlier versions up to 133k for Vim 7.1.266 and other 7.1 versions along with Vim 7.2.

4

What type of vulnerability is CVE-2008-4677?

CVE-2008-4677 is a credential storage vulnerability that exposes FTP session credentials.

5

How does CVE-2008-4677 impact users?

CVE-2008-4677 allows remote attackers to potentially gain unauthorized access to FTP servers by exploiting leaked credentials.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203