CVE-2014-4877 Path traversal in n/a
Remote FTP servers can exploit path traversal in Wget to write arbitrary files and execute code when recursion is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2014-4877?
CVE-2014-4877 is a critical path traversal vulnerability in n/a, published on 29 Oct 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2014-4877?
It affects 1 product.
Linux distribution packages (20)
wget Red Hat:enterprise_linux:6::client | All versions | 0:1.12-5.el6_6.1 |
wget-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:1.12-5.el6_6.1 |
wget Red Hat:enterprise_linux:6::computenode | All versions | 0:1.12-5.el6_6.1 |
wget-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.12-5.el6_6.1 |
wget Red Hat:enterprise_linux:6::server | All versions | 0:1.12-5.el6_6.1 |
wget-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:1.12-5.el6_6.1 |
wget Red Hat:enterprise_linux:6::workstation | All versions | 0:1.12-5.el6_6.1 |
wget-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.12-5.el6_6.1 |
wget Red Hat:enterprise_linux:7::client | All versions | 0:1.14-10.el7_0.1 |
wget-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.14-10.el7_0.1 |
wget Red Hat:enterprise_linux:7::computenode | All versions | 0:1.14-10.el7_0.1 |
wget-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.14-10.el7_0.1 |
wget Red Hat:enterprise_linux:7::server | All versions | 0:1.14-10.el7_0.1 |
wget-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.14-10.el7_0.1 |
wget Red Hat:enterprise_linux:7::workstation | All versions | 0:1.14-10.el7_0.1 |
wget-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.14-10.el7_0.1 |
wget Red Hat:rhel_eus:6.5::computenode | All versions | 0:1.12-1.12.el6_5 |
wget-debuginfo Red Hat:rhel_eus:6.5::computenode | All versions | 0:1.12-1.12.el6_5 |
wget Red Hat:rhel_eus:6.5::server | All versions | 0:1.12-1.12.el6_5 |
wget-debuginfo Red Hat:rhel_eus:6.5::server | All versions | 0:1.12-1.12.el6_5 |
Products include Gnu Wget.
How do I fix CVE-2014-4877?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-4877 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-4877 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2014-4877, DLA-82-1, DSA-3062-1, GHSA-p2w7-gcfj-5p55, MGASA-2014-0431, RHSA-2014:1764 and 3 more.