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.
| Software | From | Fixed in |
|---|---|---|
| rubyonrails / rails | 2.1.0 | 2.1.0.x |
| rubyonrails / rails | 2.1.1 | 2.1.1.x |
| rubyonrails / rails | 2.1.2 | 2.1.2.x |
| rubyonrails / rails | 2.2.0 | 2.2.0.x |
| rubyonrails / rails | 2.2.1 | 2.2.1.x |
rails
|
2.1.0 | 2.1.3 |
rails
|
2.2.0 | 2.2.2 |