Rapid7 Vulnerability & Exploit Database

Yaws Web Server Directory Traversal

Back to Search

Yaws Web Server Directory Traversal

Disclosed
11/25/2011
Created
05/30/2018

Description

This module exploits a directory traversal bug in Yaws v1.9.1 or less. The module can only be used to retrieve files. However, code execution might be possible. Because when the malicious user sends a PUT request, a file is actually created, except no content is written.

Author(s)

  • sinn3r <sinn3r@metasploit.com>

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/scanner/http/yaws_traversal
msf auxiliary(yaws_traversal) > show actions
    ...actions...
msf auxiliary(yaws_traversal) > set ACTION < action-name >
msf auxiliary(yaws_traversal) > show options
    ...show and set options...
msf auxiliary(yaws_traversal) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;