Exploit database

Vulnerability

CVE-2015-3224

Vulnerability details

Score
4.3
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:N/I:P/A:N

Description

request.rb in Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x, does not properly restrict the use of X-Forwarded-For headers in determining a client's IP address, which allows remote attackers to bypass the whitelisted_ips protection mechanism via a crafted request.

CVE Program

Exploit source choices

3 sources
Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution
MSF-multi--http--rails_web_console_v2_code_execMetasploitRuby / remote

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.

2015-06-16rails_web_console_v2_code_exec.rb
0xeval/cve-2015-3224
GH-3c715e653b8cf12fa56f5a98b1aba42cGitHubUnofficial GitHub source

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

2018-05-031 file · 6 stars