module

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

Disclosed
2015-06-16
Created
2018-05-30

Description

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.

Authors

joernchen joernchen@phenoelit.de
Ben Murphy benmmurphy@gmail.com
hdm x@hdm.io

Platform

Ruby

Architectures

ruby

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.