SecurityContext

CVE-2014-4877: GNU Wget - Command Injection

  • Cve: CVE-2014-4877
  • Name: GNU Wget - Command Injection
  • Description: Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary files, and consequently execute arbitrary code, via a LIST response that references the same filename within two entries, one of which indicates that the filename is for a symlink.
  • Impact: Remote FTP servers can write arbitrary files and execute code on the affected system.
  • Remediation: Update to version 1.16 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:C/I:C/A:C
  • Epss score: 0.39883
  • Epss percentile: 0.98658
  • Assignee: [email protected]
  • Published at: 2014-10-29T10:55:05Z
  • Age in days: 4409
  • Modified at: 2026-06-17T00:10:43Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 22
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2014-4877
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-accessnvd2014-10-29
https://github.com/rapid7/metasploit-framework/pull/4088nvd2014-10-29

References

Same in every row:

  • Source: nvd
UrlTags
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=b4440d96cf8173d68ecaa07c36b8f4316ee794d0Patch
http://lists.gnu.org/archive/html/bug-wget/2014-10/msg00150.htmlPatch
http://www.kb.cert.org/vuls/id/685996Patch, US Government Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1139181Patch
https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-accessExploit
https://github.com/rapid7/metasploit-framework/pull/4088Exploit
http://advisories.mageia.org/MGASA-2014-0431.html
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=18b0979357ed7dc4e11d4f2b1d7e0f5932d82aa7
http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00004.html
http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00009.html

Products

ProductAffectedPlatform boundSourcesUrl
gnu:wget<= 1.15, = 1.14, = 1.13.4, = 1.13.3, = 1.13.2, = 1.13.1, = 1.13, = 1.12nonvd/v1/products/gnu/wget

Projects

RepositoryLink kindsIndexedUrl
rapid7/metasploit-frameworkfix, pullyes/v1/repositories/rapid7/metasploit-framework

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2014-10-29
  • Remote: yes
  • Exposed hosts: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports