CVE-2008-7248
rubygem-actionpack: Potential CSRF protection circumvention
Overview
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.
Source: OX vulnerability database
Severity
6.8 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | actionpack | >=2.1.0, <2.1.3>=2.2.0, <2.2.2 | 2.1.32.2.2~> 2.1.3 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2.2.3-1 |
| 12 | rails | 2.2.3-1 |
| 13 | rails | 2.2.3-1 |
| 14 | rails | 2.2.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2.2.3-1 |
References
- github.com http://github.com/rails/rails/commit/099a98e9b7108dae3e0f78b207e0a7dc5913bd1a
- github.com http://github.com/rails/rails/commit/f1ad8b48aae3ee26613b3e77bc0056e120096846
- groups.google.com http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html
- pseudo-flaw.net http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup
- pseudo-flaw.net http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/
- secunia.com http://secunia.com/advisories/36600
- secunia.com http://secunia.com/advisories/38915
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1
- www.openwall.com http://www.openwall.com/lists/oss-security/2009/11/28/1
Show all 31 references
- www.openwall.com http://www.openwall.com/lists/oss-security/2009/12/02/2
- www.rorsecurity.info http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html
- www.vupen.com http://www.vupen.com/english/advisories/2009/2544
- access.redhat.com https://access.redhat.com/security/cve/CVE-2008-7248
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=544329
- github.com https://github.com/advisories/GHSA-8fqx-7pv4-3jwm
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/099a98e9b7108dae3e0f78b207e0a7dc5913bd1a
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2008-7248.yml
- groups.google.com https://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en
- lists.opensuse.org https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2008-7248
- pseudo-flaw.net https://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup
- pseudo-flaw.net https://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/
- rubygems.org https://rubygems.org/gems/rails/versions/2.1.2
- web.archive.org https://web.archive.org/web/20090906010200/https://www.vupen.com/english/advisories/2009/2544
- weblog.rubyonrails.org https://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2008-7248
- www.openwall.com https://www.openwall.com/lists/oss-security/2009/11/28/1
- www.openwall.com https://www.openwall.com/lists/oss-security/2009/12/02/2
- www.rorsecurity.info https://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.