Rapid7 Vulnerability & Exploit Database

Openbravo ERP XXE Arbitrary File Read

Back to Search

Openbravo ERP XXE Arbitrary File Read



The Openbravo ERP XML API expands external entities which can be defined as local files. This allows the user to read any files from the FS as the user Openbravo is running as (generally not root). This module was tested against Openbravo ERP version 3.0MP25 and 2.50MP6.


  • Brandon Perry <bperry.volatile@gmail.com>


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