CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2014-4877

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.
Publish Date : 2014-10-29 Last Update Date : 2017-02-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
9.3
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeDirectory traversal
CWE ID 22

- Related OVAL Definitions

Title Definition Id Class Family
DSA-3062-1 -- wget security update oval:org.mitre.oval:def:27511 unix
ELSA-2014-1764 -- wget security update (moderate) oval:org.mitre.oval:def:26933 unix
RHSA-2014:1764 -- wget security update (Moderate) oval:org.mitre.oval:def:28354 unix
RHSA-2014:1764: wget security update (Moderate) oval:com.redhat.rhsa:def:20141764 unix
SUSE-SU-2014:1366-1 -- Security update for wget (important) oval:org.mitre.oval:def:28417 unix
SUSE-SU-2014:1366-2 -- Security update for wget (important) oval:org.mitre.oval:def:28434 unix
SUSE-SU-2014:1464-1 -- Security update for wget (moderate) oval:org.mitre.oval:def:28443 unix
SUSE-SU-2014:1408-1 -- Security update for wget (important) oval:org.mitre.oval:def:28507 unix
USN-2393-1 -- Wget vulnerability oval:org.mitre.oval:def:28220 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2014-4877

# Product Type Vendor Product Version Update Edition Language
1 Application GNU Wget 1.12 Version Details Vulnerabilities
2 Application GNU Wget 1.13 Version Details Vulnerabilities
3 Application GNU Wget 1.13.1 Version Details Vulnerabilities
4 Application GNU Wget 1.13.2 Version Details Vulnerabilities
5 Application GNU Wget 1.13.3 Version Details Vulnerabilities
6 Application GNU Wget 1.13.4 Version Details Vulnerabilities
7 Application GNU Wget 1.14 Version Details Vulnerabilities
8 Application GNU Wget 1.15 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
GNU Wget 8

- References For CVE-2014-4877

https://github.com/rapid7/metasploit-framework/pull/4088
http://rhn.redhat.com/errata/RHSA-2014-1764.html
REDHAT RHSA-2014:1764
http://rhn.redhat.com/errata/RHSA-2014-1955.html
REDHAT RHSA-2014:1955
http://security.gentoo.org/glsa/glsa-201411-05.xml
GENTOO GLSA-201411-05
https://kc.mcafee.com/corporate/index?page=content&id=SB10106 CONFIRM
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 CONFIRM
https://bugzilla.redhat.com/show_bug.cgi?id=1139181 CONFIRM
http://www.securityfocus.com/bid/70751
BID 70751 GNU Wget CVE-2014-4877 Symlink Vulnerability Release Date:2017-01-27
http://www.mandriva.com/security/advisories?name=MDVSA-2015:121
MANDRIVA MDVSA-2015:121
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html CONFIRM
http://www.kb.cert.org/vuls/id/685996
CERT-VN VU#685996
http://www.debian.org/security/2014/dsa-3062
DEBIAN DSA-3062
http://lists.opensuse.org/opensuse-updates/2014-11/msg00026.html
SUSE openSUSE-SU-2014:1380
http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00004.html
SUSE SUSE-SU-2014:1366
http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00009.html
SUSE SUSE-SU-2014:1408
http://lists.gnu.org/archive/html/bug-wget/2014-10/msg00150.html
MLIST [bug-wget] 20141027 GNU wget 1.16 released
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917 CONFIRM
https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-access
http://www.ubuntu.com/usn/USN-2393-1
UBUNTU USN-2393-1
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=b4440d96cf8173d68ecaa07c36b8f4316ee794d0 CONFIRM
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=18b0979357ed7dc4e11d4f2b1d7e0f5932d82aa7 CONFIRM
http://advisories.mageia.org/MGASA-2014-0431.html CONFIRM

- Metasploit Modules Related To CVE-2014-4877

GNU Wget FTP Symlink Arbitrary Filesystem Access
This module exploits a vulnerability in Wget when used in recursive (-r) mode with a FTP server as a destination. A symlink is used to allow arbitrary writes to the target's filesystem. To specify content for the file, use the "file:/path" syntax for the TARGET_DATA option. Tested successfully with wget 1.14. Versions prior to 1.16 are presumed vulnerable.
Module type : auxiliary Rank : normal


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.