Rapid7 Vulnerability & Exploit Database

Drupal OpenID External Entity Injection

Back to Search

Drupal OpenID External Entity Injection

Disclosed
10/17/2012
Created
05/30/2018

Description

This module abuses an XML External Entity Injection vulnerability on the OpenID module from Drupal. The vulnerability exists in the parsing of a malformed XRDS file coming from a malicious OpenID endpoint. This module has been tested successfully on Drupal 7.15 and 7.2 with the OpenID module enabled.

Author(s)

  • Reginaldo Silva
  • juan vazquez <juan.vazquez@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/gather/drupal_openid_xxe
msf auxiliary(drupal_openid_xxe) > show actions
    ...actions...
msf auxiliary(drupal_openid_xxe) > set ACTION < action-name >
msf auxiliary(drupal_openid_xxe) > show options
    ...show and set options...
msf auxiliary(drupal_openid_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

;