Rapid7 Vulnerability & Exploit Database

Nexpose XXE Arbitrary File Read

Back to Search

Nexpose XXE Arbitrary File Read



Nexpose v5.7.2 and prior is vulnerable to a XML External Entity attack via a number of vectors. This vulnerability can allow an attacker to a craft special XML that could read arbitrary files from the filesystem. This module exploits the vulnerability via the XML API.


  • Brandon Perry <bperry.volatile@gmail.com>
  • Drazen Popovic <drazen.popvic@infigo.hr>
  • Bojan Zdrnja <bojan.zdrnja@infigo.hr>


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