Rapid7 Vulnerability & Exploit Database

WordPress W3-Total-Cache Plugin 0.9.2.4 (or before) Username and Hash Extract

Back to Search

WordPress W3-Total-Cache Plugin 0.9.2.4 (or before) Username and Hash Extract

Created
05/30/2018

Description

The W3-Total-Cache Wordpress Plugin <= 0.9.2.4 can cache database statements and its results in files for fast access. Version 0.9.2.4 has been fixed afterwards so it can be vulnerable. These cache files are in the webroot of the Wordpress installation and can be downloaded if the name is guessed. This module tries to locate them with brute force in order to find usernames and password hashes in these files. W3 Total Cache must be configured with Database Cache enabled and Database Cache Method set to Disk to be vulnerable

Author(s)

  • Christian Mehlmauer <FireFart@gmail.com>
  • Jason A. Donenfeld <Jason@zx2c4.com>

Development

References

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

;