Ruby on Rails Web Console IP Whitelist Bypass Code Execution

Published: 2020-03-09 12:45:13
CVE Author: NIST National Vulnerability Database (NVD)

CVSS Base Vector:

The Web Console tool as used in Ruby on Rails is prone to a remote code execution vulnerability.

Detection Method:
Sends crafted HTTP GET and PUT requests to determine if the remote host is vulnerable.

Technical Details:
The request.rb does not properly restrict the use of X-Forwarded-For headers in determining a client's IP address.

This flaw allows remote attackers to bypass the whitelisted_ips protection mechanism via a crafted requestFIXME

Affected Versions:
Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x.

Update to Web Console version 2.1.3 or later.

Detection Type:

Solution Type:
Vendor Patch

NIST (National Institute of Standards and Technology) NVD (National Vulnerability Database)


CVSS Score

You never have to pay for a vulnerability scanning and management software again.

Tired of paying a subscription 'per asset' or 'per IP'? Well you can officially cancel your current subscription. Mageni provides a free, open source and enterprise-ready vulnerability scanning and management platform which helps you to find, prioritize, remediate and manage your vulnerabilities. It is free and always will be.