Skip to content
OpenAdvisories
Medium Scanner template Public exploit CVE-2015-3224 EUVD-2017-0172GHSA-67j6-xv27-w6ww

Web Console (Ruby gem) contains whitelisted_ips bypass

Published Jul 26, 2015 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ruby3.2-rubygem-web-console 4.2.0-1.9 openSUSE-SU-2024:13172-1
openSUSE Tumbleweed rubygem-web-console 4.2.1-1.5 openSUSE-SU-2026:10367-1, openSUSE-SU-2025:15129-1, openSUSE-SU-2024:14179-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems web-console < 2.1.3 2.1.3 GHSA-67j6-xv27-w6ww

Advisories 5

References