Symlink Attack in Wget - Security Update

wget Updated 02 Oct 2025

Summary

02/11/2014
N/A
Yes i
Unrated
Not published

DSA-3062-1: wget - security update. Affects wget versions < 1.13.4-3+deb7u2. Fixed in 1.13.4-3+deb7u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Wget is a command-line utility used to retrieve files via HTTP, HTTPS, and FTP. It is commonly used for downloading files from the internet. Wget allows users to recursively download files, which means it can follow links and retrieve files from multiple directories. This feature makes it susceptible to a symlink attack, which can lead to arbitrary file creation and potential remote code execution with user privileges.

Vulnerability Detail

The vulnerability in Wget allows an attacker to create arbitrary files on the user's system when Wget runs in recursive mode against a malicious FTP server. By exploiting this vulnerability, an attacker can override the content of user files or execute remote code with the user's privileges. The issue arises from Wget's default behavior of creating local symbolic links, which can be manipulated by an attacker to create arbitrary files. This vulnerability has been assigned the identifier CVE-2014-4877.

How To Fix

Minimum fixed version

1.13.4-3+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade wget

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by avoiding the use of Wget in recursive mode against untrusted FTP servers.

Conclusion

The symlink attack vulnerability in Wget can be mitigated by upgrading to the fixed versions mentioned above. It is important to promptly apply the security update to ensure the integrity and security of the system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for wget →

Share this vulnerability

FAQ

Wget is a command-line utility used for retrieving files from the internet via HTTP, HTTPS, and FTP.

A symlink attack is a type of vulnerability where an attacker manipulates symbolic links to create or overwrite arbitrary files on a system.

Recursive mode in Wget allows the utility to follow links and retrieve files from multiple directories.

This vulnerability can lead to arbitrary file creation, overriding of user files, or remote code execution with user privileges.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for wget.

How To Fix

Minimum fixed version

1.13.4-3+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade wget

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback