// For flags

CVE-2014-4877

wget: FTP symlink arbitrary filesystem access

Severity Score

9.3
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

2
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Vulnerabilidad de salto de ruta absoluta en GNU Wget anterior a 1.16, cuando la recursión esta habilitada, permite a servidores FTP remotos escribir a ficheros arbitrarios, y como consecuencia ejecutar código arbitrario, a través de una respuesta LIST que hace referencia al mismo nombre de fichero dentro de dos entradas, una de las cuales indica que el nombre de fichero es para un enlace simbólico.

A flaw was found in the way Wget handled symbolic links. A malicious FTP server could allow Wget running in the mirror mode (using the '-m' command line option) to write an arbitrary file to a location writable to by the user running Wget, possibly leading to code execution.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2014-07-10 CVE Reserved
  • 2014-10-29 CVE Published
  • 2024-08-06 CVE Updated
  • 2024-08-06 First Exploit
  • 2024-10-27 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')
CAPEC
References (23)
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
<= 1.15
Search vendor "Gnu" for product "Wget" and version " <= 1.15"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.12
Search vendor "Gnu" for product "Wget" and version "1.12"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.13
Search vendor "Gnu" for product "Wget" and version "1.13"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.13.1
Search vendor "Gnu" for product "Wget" and version "1.13.1"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.13.2
Search vendor "Gnu" for product "Wget" and version "1.13.2"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.13.3
Search vendor "Gnu" for product "Wget" and version "1.13.3"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.13.4
Search vendor "Gnu" for product "Wget" and version "1.13.4"
-
Affected
Gnu
Search vendor "Gnu"
Wget
Search vendor "Gnu" for product "Wget"
1.14
Search vendor "Gnu" for product "Wget" and version "1.14"
-
Affected