Exploit database

Vulnerability

CVE-2016-2098

Vulnerability details

Score
7.3
Severity
high

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Description

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.

CVE Program

Exploit source choices

3 sources
Ruby on Rails ActionPack Inline ERB Code Execution
MSF-multi--http--rails_actionpack_inline_execMetasploitRuby / remote

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.

2016-03-01rails_actionpack_inline_exec.rb
0x00-0x00/cve-2016-2098
GH-80ef5efa2402fde2a05f7c54f7949138GitHubUnofficial GitHub source

Ruby On Rails unrestricted render() exploit

2018-02-091 file · 16 stars