{"id":"CVE-2008-7248","url":"https://www.cyber-defence.io/tools/cve/CVE-2008-7248","generatedAt":"2026-10-27T19:37:44.498Z","title":"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…","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.","published":"2009-12-16T01:30:00.000Z","lastModified":"2026-06-16T23:03:55.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},"cwe":["CWE-20"],"affected":["rubyonrails/rails"],"epss":{"score":0.0808,"percentile":0.94767,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2009-12-14","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":33402,"kind":"exploit","title":"Ruby on Rails 2.3.5 - 'protect_from_forgery' Cross-Site Request Forgery","url":"https://www.exploit-db.com/exploits/33402","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/33402.txt","file":"exploits/linux/remote/33402.txt","published":"2009-12-14","added":"2009-12-14","updated":"2014-05-18","author":"p0deje","type":"remote","platform":"linux","port":null,"verified":true,"codes":["CVE-2008-7248","OSVDB-61124"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/37322/info"}]},"verdict":{"level":"high","text":"A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 8.1%. Treat it as high on anything reachable from the internet."},"changes":[],"references":[{"url":"http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","source":"secalert@redhat.com"},{"url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/36600","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/38915","source":"secalert@redhat.com"},{"url":"http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2009/11/28/1","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2009/12/02/2","source":"secalert@redhat.com"},{"url":"http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html","tags":["Exploit"],"source":"secalert@redhat.com"},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/36600","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/38915","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2009/11/28/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2009/12/02/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-7248","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}