Rapid7 Vulnerability & Exploit Database

Ruby On Rails File Content Disclosure ('doubletap')

Back to Search

Ruby On Rails File Content Disclosure ('doubletap')

Created
04/22/2019

Description

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

Author(s)

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

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/rails_doubletap_file_read
msf auxiliary(rails_doubletap_file_read) > show actions
    ...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

;