CVEvulnerability
CVE-2008-7248
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2009-12-16
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-20
Description
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.
Affected configurations
• rubyonrails rails 2.1.0
• rubyonrails rails 2.1.1
• rubyonrails rails 2.1.2
• rubyonrails rails 2.2.0
• rubyonrails rails 2.2.1
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en groups.google.com
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html lists.opensuse.org
- http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/ pseudo-flaw.net
- http://secunia.com/advisories/36600 Vendor Advisory
- http://secunia.com/advisories/38915 secunia.com
- http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1 weblog.rubyonrails.org
- http://www.openwall.com/lists/oss-security/2009/11/28/1 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/12/02/2 www.openwall.com
- http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html Exploit
- http://www.vupen.com/english/advisories/2009/2544 Vendor Advisory
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en groups.google.com
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html lists.opensuse.org
- http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/ pseudo-flaw.net
- http://secunia.com/advisories/36600 Vendor Advisory
- http://secunia.com/advisories/38915 secunia.com
- http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1 weblog.rubyonrails.org
- http://www.openwall.com/lists/oss-security/2009/11/28/1 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/12/02/2 www.openwall.com
- http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html Exploit
- http://www.vupen.com/english/advisories/2009/2544 Vendor Advisory