Vulnerability & Exploit Database

Back to search

Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution

This module exploits an IP whitelist bypass vulnerability in the developer web console included with Ruby on Rails 4.0.x and 4.1.x. This module will also achieve code execution on Rails 4.2.x if the attack is launched from a whitelisted IP range.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/multi/http/rails_web_console_v2_code_exec

Authors

  • joernchen <joernchen [at] phenoelit.de>
  • Ben Murphy <benmmurphy [at] gmail.com>
  • hdm <x [at] hdm.io>

References

Targets

  • Automatic

Platforms

  • ruby

Architectures

  • ruby

Reliability

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 exploit/multi/http/rails_web_console_v2_code_exec msf exploit(rails_web_console_v2_code_exec) > show targets ...targets... msf exploit(rails_web_console_v2_code_exec) > set TARGET <target-id> msf exploit(rails_web_console_v2_code_exec) > show options ...show and set options... msf exploit(rails_web_console_v2_code_exec) > exploit

Related Vulnerabilities