{"id":"CVE-2015-3224","published":"2015-07-26T22:00:00Z","modified":"2024-08-06T05:39:32Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.48842,"percentile":0.98906,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/75237","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/lzmz9_ijUFw/HBMPi4zp5NAJ","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/18","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160881.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/rails/web-console/blob/master/CHANGELOG.markdown","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.78},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2015-06-16"},"pocGithub":{"count":5,"skipped":0,"earliest":"2018-02-08","earliestUrl":"https://github.com/0x00-0x00/CVE-2015-3224","repos":[{"name":"0xEval/cve-2015-3224","url":"https://github.com/0xEval/cve-2015-3224","stars":6,"created":"2018-05-03"},{"name":"0x00-0x00/CVE-2015-3224","url":"https://github.com/0x00-0x00/CVE-2015-3224","stars":2,"created":"2018-02-08"},{"name":"SQU4NCH/CVE-2015-3224","url":"https://github.com/SQU4NCH/CVE-2015-3224","stars":1,"created":"2026-01-09"},{"name":"n000xy/CVE-2015-3224-","url":"https://github.com/n000xy/CVE-2015-3224-","stars":0,"created":"2021-02-27"},{"name":"Sic4rio/CVE-2015-3224","url":"https://github.com/Sic4rio/CVE-2015-3224","stars":0,"created":"2025-07-06"}]},"metasploit":[{"name":"Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution","module":"exploit/multi/http/rails_web_console_v2_code_exec","type":"exploit","disclosureDate":"2015-06-16","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_web_console_v2_code_exec.rb"}],"nuclei":[{"id":"CVE-2015-3224","name":"Ruby on Rails Web Console - Remote Code Execution","severity":"medium","path":"http/cves/2015/CVE-2015-3224.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2015/CVE-2015-3224.yaml"}],"first":{"date":"2015-06-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41689"},"provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"web-console","vulnerableRanges":["<2.1.3"],"patched":["2.1.3"],"from":["GHSA-67j6-xv27-w6ww"],"provenance":"source"}],"summary":{"text":"The flaw lies in request.rb in Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x, which does not properly restrict trust in X-Forwarded-For headers when determining a client's IP address.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:47Z"},"euvd":{"id":"EUVD-2017-0172","exploited":false,"provenance":"source"},"exploits":[{"id":41689,"url":"https://www.exploit-db.com/exploits/41689","title":"Ruby on Rails 4.0.x/4.1.x/4.2.x (Web Console v2) - Whitelist Bypass Code Execution (Metasploit)","date":"2015-06-16","verified":true,"provenance":"source"}]}