module

GNU Wget FTP Symlink Arbitrary Filesystem Access

Disclosed
Oct 27, 2014
Created
May 30, 2018

Description

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 Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/server/wget_symlink_file_write
msf auxiliary(wget_symlink_file_write) > show actions
...actions...
msf auxiliary(wget_symlink_file_write) > set ACTION < action-name >
msf auxiliary(wget_symlink_file_write) > show options
...show and set options...
msf auxiliary(wget_symlink_file_write) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.