{"id":"CVE-2008-7248","published":"2009-12-16T01:00:00Z","modified":"2024-08-07T11:56:14Z","title":"Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types…","vendor":null,"product":null,"tier":"tail","description":{"text":"Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0808,"percentile":0.94935,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2009/11/28/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/36600","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/","tags":["x_refsource_MISC"]},{"url":"http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/02/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/38915","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.99},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2009-12-14"},"first":{"date":"2009-12-14","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/33402"},"provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=2.1.0, <2.1.3",">=2.2.0, <2.2.2"],"patched":["2.1.3","2.2.2"],"from":["GHSA-8fqx-7pv4-3jwm"],"provenance":"source"}],"summary":{"text":"The flaw is in the Ruby on Rails framework's request-forgery protection, in the 2.1 release line before 2.1.3 and the 2.2.x line before 2.2.2, where tokens are not verified for requests with certain content types.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:55:42Z"},"euvd":{"id":"EUVD-2017-0192","exploited":false,"provenance":"source"},"exploits":[{"id":33402,"url":"https://www.exploit-db.com/exploits/33402","title":"Ruby on Rails 2.3.5 - 'protect_from_forgery' Cross-Site Request Forgery","date":"2009-12-14","verified":true,"provenance":"source"}]}