Rapid7 Vulnerability & Exploit Database

Ruby On Rails File Content Disclosure ('doubletap')

Back to Search

Ruby On Rails File Content Disclosure ('doubletap')



This module uses a path traversal vulnerability in Ruby on Rails versions =< 5.2.2 to read files on a target server.


  • Carter Brainerd <0xCB@protonmail.com>
  • John Hawthorn <john@hawthorn.email>


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