CVE-2008-7248Rubyonrails Rails
Medium 6.8 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 2.0
- 6.8
- EPSS
- 8.1% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Dec 16, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actionpack |
≥ 2.1.0 < 2.1.3 |
2.1.3 |
gem "actionpack", ">= 2.1.3" |
| RubyGems | actionpack |
≥ 2.2.0 < 2.2.2 |
2.2.2 |
gem "actionpack", ">= 2.2.2" |
Per OSV / GitHub Advisories (GHSA-8fqx-7pv4-3jwm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com
- lists.opensuse.org
- pseudo-flaw.net
- secunia.com Vendor Advisory
- secunia.com
- weblog.rubyonrails.org
- www.openwall.com
- www.openwall.com
- www.rorsecurity.info Exploit
- www.vupen.com Vendor Advisory