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.

Author

hdm x@hdm.io

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.