{"answers":{"affected":"2 open source packages ship an affected version, including web-console. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-3224 exists.","fix":"Upgrade web-console to 2.1.3 or later.","what":"CVE-2015-3224 is a medium-severity vulnerability in n/a, published on 26 Jul 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-3224 and fix it if it is affected.\n\nWhat it is: CVE-2015-3224 is a medium-severity vulnerability in n/a, published on 26 Jul 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-3224 exists.\n\nAffected packages and fixed versions:\n- web-console (RubyGems): affected all versions; fixed in 2.1.3\n- web-console (RubyGems): affected all versions; fixed in 2.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2015-3224/ (Markdown: https://insights.sbomify.com/CVE-2015-3224/index.md)","id":"CVE-2015-3224","markdown":"https://insights.sbomify.com/CVE-2015-3224/index.md","name":"CVE-2015-3224","record":{"aliases":["GHSA-67j6-xv27-w6ww","openSUSE-SU-2024:11356-1","openSUSE-SU-2024:13172-1","openSUSE-SU-2024:14179-1","openSUSE-SU-2025:15129-1","openSUSE-SU-2026:10367-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Ruby on Rails console","requires_auth":"none","summary":"Attackers can bypass IP whitelisting in Web Console by spoofing X-Forwarded-For headers, gaining unauthorized access to the debugging console.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"web_console","vendor":"rubyonrails"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"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.","ecosystems":["RubyGems","openSUSE:Tumbleweed"],"exploits":{"exploitdb":1,"first_seen":"2015-06-16","github_poc":5,"max_poc_stars":6,"metasploit":1,"nuclei":1,"refs":[{"date":"2018-05-03T07:41:33Z","kind":"github_poc","ref":"https://github.com/0xEval/cve-2015-3224","stars":6,"title":"Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution implementation in Python"},{"date":"2018-02-08T23:24:48Z","kind":"github_poc","ref":"https://github.com/0x00-0x00/CVE-2015-3224","stars":2,"title":"Modification of Metasploit module for RCE in Ruby-On-Rails Console CVE-2015-3224"},{"date":"2026-01-09T16:49:05Z","kind":"github_poc","ref":"https://github.com/SQU4NCH/CVE-2015-3224","stars":1,"title":"CVE-2015-3224 Exploit - Rails Web Console RCE"},{"date":"2015-06-16","kind":"exploitdb","ref":"41689","stars":null,"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","kind":"metasploit","ref":"exploit/multi/http/rails_web_console_v2_code_exec","stars":null,"title":"Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution"},{"date":"2021-02-27T19:47:14Z","kind":"github_poc","ref":"https://github.com/n000xy/CVE-2015-3224-","stars":0,"title":"CVE-2015-3224 "},{"date":"2025-07-06T09:43:06Z","kind":"github_poc","ref":"https://github.com/Sic4rio/CVE-2015-3224","stars":0,"title":"Ruby on Rails Web Console Exploit (CVE-2015-3224)"},{"date":null,"kind":"nuclei","ref":"http/cves/2015/CVE-2015-3224.yaml","stars":null,"title":"Ruby on Rails Web Console - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Web Console (Ruby gem) contains whitelisted_ips bypass","id":"CVE-2015-3224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"security_feature_bypass","year":"2015"},"n_packages":6,"n_references":5,"next":{"headline":"Rack vulnerable to Denial of Service via large parameter depth request","id":"CVE-2015-3225"},"packages":[{"ecosystem":"RubyGems","fixed":["2.1.3"],"introduced":["0"],"last_affected":[],"package":"web-console","purl":null,"source":"GHSA-67j6-xv27-w6ww"},{"ecosystem":"RubyGems","fixed":["2.1.3"],"introduced":["0"],"last_affected":[],"package":"web-console","purl":"pkg:gem/web-console","source":"GHSA-67j6-xv27-w6ww"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.0-1.9"],"introduced":["0"],"last_affected":[],"package":"ruby3.2-rubygem-web-console","purl":"pkg:rpm/opensuse/ruby3.2-rubygem-web-console\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13172-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.1-1.5"],"introduced":["0"],"last_affected":[],"package":"rubygem-web-console","purl":"pkg:rpm/opensuse/rubygem-web-console\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14179-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.1-1.7"],"introduced":["0"],"last_affected":[],"package":"rubygem-web-console","purl":"pkg:rpm/opensuse/rubygem-web-console\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15129-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.1-1.9"],"introduced":["0"],"last_affected":[],"package":"rubygem-web-console","purl":"pkg:rpm/opensuse/rubygem-web-console\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10367-1"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2015-3223"},"products":["n/a"],"published":"2015-07-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can bypass IP whitelisting in Web Console by spoofing X-Forwarded-For headers, gaining unauthorized access to the debugging console.","url":"https://insights.sbomify.com/CVE-2015-3224/"}