CVE-2015-3224: vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-04 15:41 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by redhat, published 2015-07-26).
How it can be exploited
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 Exploit-DB entry, 1 Nuclei template and 11 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 21 references on Exploit Observer
Live scores
- EPSS
- 0.491
likely to be attacked soon - VEDAS
- 0.980
strong exploit evidence - On CISA KEV
- Not listed
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Not stated | versions not stated in the record | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Vendor guidance:
- FEDORA-2015-10128 (vendor-advisory, x_refsource_FEDORA)
How to detect it
Nuclei template (active check)
Ruby - Remote Code Execution
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.
Name and description quoted from the template, written by VEDAS.
The template sends 1 request (GET /{{randstr}}); it decides using word matchers. Severity in the template: medium. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2015-3224.yamlShow the template (46 lines)
id: CVE-2015-3224
info:
name: "Ruby - Remote Code Execution"
author: vedas-arpsyndicate
severity: medium
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.
reference:
- https://www.exploit.observer/?keyword=CVE-2015-3224&match=exact
- https://subdomain.center/?engine=ammonites&keyword=ruby&match=exact
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
cvss-score: 4.3
cve-id: CVE-2015-3224
cwe-id: CWE-284
metadata:
verified: false
tags: cve2015,cve,ruby,hackerone,rce,rails,intrusive,rubyonrails,vuln
http:
- method: GET
path:
- "{{BaseURL}}/{{randstr}}"
headers:
X-Forwarded-For: "::1"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Rails.root:"
- "Action Controller: Exception caught"
condition: and
- type: word
part: response
words:
- X-Web-Console-Session-Id
- data-remote-path=
- data-session-id=
case-insensitive: true
condition: or
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2015-3224 Ruby - Remote Code Execution. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2015-3224 Ruby - Remote Code Execution"; flow:established,to_client; file.data; content:"Rails.root:"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2015-3224; reference:url,https://www.exploit.observer/?keyword=CVE-2015-3224&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=ruby&match=exact; sid:1011195; rev:1;)
References
Vendor advisories and patches
- FEDORA-2015-10128 (vendor-advisory, x_refsource_FEDORA)
Other references
- 75237 (vdb-entry, x_refsource_BID)
- [rubyonrails-security] 20150616 [CVE-2015-3224] IP whitelist bypass in Web Console (mailing-list, x_refsource_MLIST)
- [oss-security] 20150616 [CVE-2015-3224] IP whitelist bypass in Web Console (mailing-list, x_refsource_MLIST)
- https://github.com/rails/web-console/blob/master/CHANGELOG.markdown (x_refsource_CONFIRM)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.