{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2008-7248","id":"CVE-2008-7248","title":"Improper Input Validation in actionpack","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.","descriptionLong":"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:00:00.000Z","updated":"2026-06-16T23:03:54.960Z","reserved":"2009-12-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=2.1.0 <2.1.3",">=2.2.0 <2.2.2"],"fixed":["2.1.3","2.2.2"],"advisory":"GHSA-8fqx-7pv4-3jwm"}],"cwes":["CWE-20"],"aliases":["GHSA-8fqx-7pv4-3jwm"],"references":[{"url":"http://www.openwall.com/lists/oss-security/2009/11/28/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://secunia.com/advisories/36600","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2009/12/02/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/38915","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7248","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/099a98e9b7108dae3e0f78b207e0a7dc5913bd1a","tags":["web"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-7248","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=544329","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2008-7248.yml","tags":["web"]},{"url":"https://groups.google.com/group/rubyonrails-security/browse_thread/thread/d741ee286e36e301?hl=en","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html","tags":["web"]},{"url":"https://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup","tags":["web"]},{"url":"https://web.archive.org/web/20090906010200/https://www.vupen.com/english/advisories/2009/2544","tags":["web"]},{"url":"https://weblog.rubyonrails.org/2008/11/18/potential-circumvention-of-csrf-protection-in-rails-2-1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2009/11/28/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2009/12/02/2","tags":["web"]},{"url":"https://www.rorsecurity.info/journal/2008/11/19/circumvent-rails-csrf-protection.html","tags":["web"]},{"url":"http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0808,"epssPercentile":0.94935,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2008-7248","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7248","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2008-7248","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8fqx-7pv4-3jwm","ok":true,"note":"GHSA-8fqx-7pv4-3jwm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2008-7248","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}