{"id":"GHSA-8fqx-7pv4-3jwm","summary":"Improper Input Validation in actionpack","details":"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.","aliases":["CVE-2008-7248"],"modified":"2024-12-07T05:40:24.463173Z","published":"2017-10-24T18:33:38Z","database_specific":{"nvd_published_at":"2009-12-16T01:30:00Z","cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:25:28Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7248"},{"type":"WEB","url":"https://github.com/rails/rails/commit/099a98e9b7108dae3e0f78b207e0a7dc5913bd1a"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2008-7248"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=544329"},{"type":"PACKAGE","url":"https://github.com/rails/rails"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2008-7248.yml"},{"type":"WEB","url":"https://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en"},{"type":"WEB","url":"https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html"},{"type":"WEB","url":"https://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup"},{"type":"WEB","url":"https://web.archive.org/web/20090906010200/https://www.vupen.com/english/advisories/2009/2544"},{"type":"WEB","url":"https://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2009/11/28/1"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2009/12/02/2"},{"type":"WEB","url":"https://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html"},{"type":"WEB","url":"http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html"},{"type":"WEB","url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2009/11/28/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2009/12/02/2"}],"affected":[{"package":{"name":"actionpack","ecosystem":"RubyGems","purl":"pkg:gem/actionpack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.3"}]}],"versions":["2.1.0","2.1.1","2.1.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8fqx-7pv4-3jwm/GHSA-8fqx-7pv4-3jwm.json"}},{"package":{"name":"actionpack","ecosystem":"RubyGems","purl":"pkg:gem/actionpack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8fqx-7pv4-3jwm/GHSA-8fqx-7pv4-3jwm.json"}}],"schema_version":"1.9.0"}