Cross-site request forgeryin the actionpack package.
Proof of concept public (Exploit-DB).
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.
- Upgrade actionpack (RubyGems) to 2.1.3, 2.2.2 or later, whichever matches your release line.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 11 Dec 2009CVE ID reserved by redhat.
- 16 Dec 2009Published in the CVE List.
- 7 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.openwall.com mailing-list, x_refsource_MLIST
- www.rorsecurity.info x_refsource_MISC
- secunia.com third-party-advisory, x_refsource_SECUNIA
- pseudo-flaw.net x_refsource_MISC
- weblog.rubyonrails.org x_refsource_CONFIRM
- www.vupen.com vdb-entry, x_refsource_VUPEN
- groups.google.com x_refsource_MISC
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.openwall.com mailing-list, x_refsource_MLIST
- secunia.com third-party-advisory, x_refsource_SECUNIA
Patchminder. CVE-2008-7248: Cross-site request forgery in the actionpack package. https://patchminder.com/cve/cve-2008-7248/ (accessed 5 December 2026).