Rapid7 Vulnerability & Exploit Database

WordPress NextGEN Gallery Directory Read Vulnerability

Back to Search

WordPress NextGEN Gallery Directory Read Vulnerability



This module exploits an authenticated directory traversal vulnerability in WordPress Plugin "NextGEN Gallery" version 2.1.7, allowing to read arbitrary directories with the web server privileges.


  • Sathish Kumar
  • Roberto Soares Espreto <robertoespreto@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/scanner/http/wp_nextgen_galley_file_read
msf auxiliary(wp_nextgen_galley_file_read) > show actions
msf auxiliary(wp_nextgen_galley_file_read) > set ACTION < action-name >
msf auxiliary(wp_nextgen_galley_file_read) > show options
    ...show and set options...
msf auxiliary(wp_nextgen_galley_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