module

Ruby on Rails ActionPack Inline ERB Code Execution

Disclosed
2016-03-01
Created
2018-05-30

Description

This module exploits a remote code execution vulnerability in the
inline request processor of the Ruby on Rails ActionPack component.
This vulnerability allows an attacker to process ERB to the inline
JSON processor, which is then rendered, permitting full RCE within
the runtime, without logging an error condition.

Author

RageLtMan rageltman@sempervictus

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_actionpack_inline_exec
msf exploit(rails_actionpack_inline_exec) > show targets
...targets...
msf exploit(rails_actionpack_inline_exec) > set TARGET < target-id >
msf exploit(rails_actionpack_inline_exec) > show options
...show and set options...
msf exploit(rails_actionpack_inline_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.