CVE-2014-4877
Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to…
Check your servers for CVE-2014-4877
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-2014-4877 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
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.
Exploitation
EPSS 39.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.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-2014-4877 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2014-4877RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2014-4877Alpine
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-2014-4877
trivy image --scanners vuln IMAGE | grep CVE-2014-4877
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
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=b4440d96cf8173d68ecaa07c36b8f4316ee794d0 git.savannah.gnu.org
- GLSA-201411-05 security.gentoo.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917 h20566.www2.hpe.com
- USN-2393-1 ubuntu.com · vendor advisory
- MDVSA-2015:121 mandriva.com · vendor advisory
- RHSA-2014:1955 rhn.redhat.com · vendor advisory
- DSA-3062 debian.org · vendor advisory
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=18b0979357ed7dc4e11d4f2b1d7e0f5932d82aa7 git.savannah.gnu.org
- VU#685996 kb.cert.org · third party advisory
- SUSE-SU-2014:1366 lists.opensuse.org · vendor advisory
- RHSA-2014:1764 rhn.redhat.com · vendor advisory
- SUSE-SU-2014:1408 lists.opensuse.org · vendor advisory
6 more
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 h20566.www2.hpe.com
- openSUSE-SU-2014:1380 lists.opensuse.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1139181 bugzilla.redhat.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html oracle.com
- https://kc.mcafee.com/corporate/index?page=content&id=SB10106 kc.mcafee.com
- http://advisories.mageia.org/MGASA-2014-0431.html advisories.mageia.org
Other references
- [bug-wget] 20141027 GNU wget 1.16 released lists.gnu.org · mailing list
- https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-access community.rapid7.com
- 70751 securityfocus.com · vdb entry
- https://github.com/rapid7/metasploit-framework/pull/4088 github.com
Source: the record CVE-2014-4877 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