Rapid7 Vulnerability & Exploit Database

Varnish Cache CLI File Read

Back to Search

Varnish Cache CLI File Read



This module attempts to read the first line of a file by abusing the error message when compiling a file with vcl.load.


  • patrick
  • h00die <mike@shorebreaksecurity.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/varnish/varnish_cli_file_read
msf auxiliary(varnish_cli_file_read) > show actions
msf auxiliary(varnish_cli_file_read) > set ACTION < action-name >
msf auxiliary(varnish_cli_file_read) > show options
    ...show and set options...
msf auxiliary(varnish_cli_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