| Name | CVE-2008-7248 |
| 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 | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 558685 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| rails (PTS) | bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed |
| bullseye (security) | 2:6.0.3.7+dfsg-2+deb11u4 | fixed | |
| bookworm | 2:6.1.7.10+dfsg-1~deb12u1 | fixed | |
| bookworm (security) | 2:6.1.7.10+dfsg-1~deb12u2 | fixed | |
| trixie | 2:7.2.2.1+dfsg-7 | fixed | |
| trixie (security) | 2:7.2.2.2+dfsg-2~deb13u1 | fixed | |
| forky, sid | 2:7.2.2.2+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| rails | source | lenny | (not affected) | |||
| rails | source | (unstable) | 2.2.3-1 | medium | 558685 |
[lenny] - rails <not-affected> (Vulnerable code not present)
http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1