Path traversal in wget - CVE-2014-4877

 

Path traversal in wget - CVE-2014-4877

Published: October 29, 2014 / Updated: July 29, 2020


Vulnerability identifier: #VU32477
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-4877
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Affected software

wget
Gentoo Linux
Amazon Linux AMI
SUSE Linux
Slackware Linux
Fedora
wget (Alpine package)
wget

How to mitigate CVE-2014-4877

Install update from vendor's website.

wget - update to 1.16
wget (Alpine package) - update to 1.16-r0
wget - update to 1.16-3.fc21

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins