Rapid7 Vulnerability & Exploit Database

WebNMS Framework Server Arbitrary Text File Download

Back to Search

WebNMS Framework Server Arbitrary Text File Download

Disclosed
07/04/2016
Created
05/30/2018

Description

This module abuses a vulnerability in WebNMS Framework Server 5.2 that allows an unauthenticated user to download files off the file system by using a directory traversal attack on the FetchFile servlet. Note that only text files can be downloaded properly, as any binary file will get mangled by the servlet. Also note that for Windows targets you can only download files that are in the same drive as the WebNMS installation. This module has been tested with WebNMS Framework Server 5.2 and 5.2 SP1 on Windows and Linux.

Author(s)

  • Pedro Ribeiro <pedrib@gmail.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/admin/http/webnms_file_download
msf auxiliary(webnms_file_download) > show actions
    ...actions...
msf auxiliary(webnms_file_download) > set ACTION < action-name >
msf auxiliary(webnms_file_download) > show options
    ...show and set options...
msf auxiliary(webnms_file_download) > 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

;