CVE-2008-7248
mediumpriority · track · 40EPSS 0.081 · 95 %ileexploit · functionalEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-33402Ruby on Rails 2.3.5 - 'protect_from_forgery' Cross-Site Request Forgeryfunctional · exploit_db
affected products (8)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8fqx-7pv4-3jwmImproper Input Validation in actionpack2017-10-24ghsa · osvUS
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.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=enenisa_euvd
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.htmlenisa_euvd
- http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/enisa_euvd
- http://secunia.com/advisories/36600enisa_euvd
- http://secunia.com/advisories/38915enisa_euvd
- http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1enisa_euvd
- http://www.openwall.com/lists/oss-security/2009/11/28/1enisa_euvd
- http://www.openwall.com/lists/oss-security/2009/12/02/2enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan