Skip to content
OpenAdvisories
Unscored Public exploit CVE-2014-4877 EUVD-2014-4796GHSA-p2w7-gcfj-5p55

Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary f…

Published Oct 29, 2014 · Updated Aug 6, 2024 · Assigned by certcc

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 wget 1.16-1 —
Debian 13 wget 1.16-1 —
Debian 12 wget 1.16-1 —
Debian 7 wget 1.13.4-3+deb7u2 DSA-3062-1
Debian 6.0 wget 1.12-2.1+deb6u1 DLA-82-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS wget 1.15-1ubuntu1.14.04.1 USN-2393-1
ReleasePackageFixed inAdvisory
RHEL 7 wget 1.14-10.el7_0.1 RHSA-2014:1764
RHEL 6 wget 1.12-5.el6_6.1 RHSA-2014:1764
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 6.5 EUS wget 1.12-1.12.el6_5 RHSA-2014:1955
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed wget 1.18-2.3 openSUSE-SU-2024:10263-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 wget 1.14-10.el7_0.1 ELSA-2014-1764

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References