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.
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_execmsf undefined(rails_web_console_v2_code_exec) > show actions ...actions...msf undefined(rails_web_console_v2_code_exec) > set ACTION < action-name >msf undefined(rails_web_console_v2_code_exec) > show options ...show and set options...msf undefined(rails_web_console_v2_code_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub