Vulnerability & Exploit Database

Back to search

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

auxiliary/server/wget_symlink_file_write

Authors

  • hdm <x [at] hdm.io>

References

Actions

  • Service

Reliability

Development

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

Related Vulnerabilities