{"id":"CVE-2011-0447","aliases":["DEBIAN-CVE-2011-0447","DSA-2247-1","EUVD-2017-0148","GHSA-24fg-p96v-hxh8"],"status":"published","title":"actionpack Cross-Site Request Forgery vulnerability","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01418,"percentile":0.72977,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2011-02-14T20:00:00Z","modified":"2026-10-23T17:47:42Z","fixes":[{"ecosystem":"RubyGems","package":"actionpack","fixed_in":["2.3.11","3.0.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["2.3.11-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["2.3.11-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["2.3.11-0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.3.11"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.11-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.11-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.11-0.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.5-1.2+squeeze0.1"}]}],"versions":["2.3.5-1.2"],"bundled":2},{"source":"osv","ecosystem":"Debian:5.0","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-7+lenny0.1"}]}],"versions":["2.1.0-6","2.1.0-7"],"bundled":2},{"source":"osv","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.3.11"}]}],"versions":["2.1.0","2.1.1","2.1.2","2.2.2","2.2.3","2.3.10","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.8.pre1","2.3.9","2.3.9.pre"]},{"source":"osv","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4.rc1"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"references":[{"url":"http://www.vupen.com/english/advisories/2011/0587","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix","web"]},{"url":"http://www.securitytracker.com/id?1025060","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/46291","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.debian.org/security/2011/dsa-2247","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/c22ea1668c0d181c?dmode=source\u0026output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/43274","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0877","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/43666","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0447","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0447.yml","tags":["web"]},{"url":"https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291","tags":["web"]},{"url":"https://web.archive.org/web/20170223045008/http://www.securitytracker.com/id?1025060","tags":["web"]},{"url":"https://github.com/rails/rails/commit/66ce3843d32e9f2ac3b1da20067af53019bbb034","tags":["web"]},{"url":"https://github.com/rails/rails/commit/7e86f9b4d2b7dfa974c10ae7e6d8ef90f3d77f06","tags":["web"]},{"url":"https://github.com/advisories/GHSA-24fg-p96v-hxh8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-0447","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-0447","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2011-02-14T20:00:00Z","modified":"2024-08-06T21:51:09.065Z","updated_at":"2026-11-02T14:35:39.079595Z"}],"euvd":[{"id":"EUVD-2017-0148","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2011-02-14T20:00:00Z","modified":"2024-08-06T21:51:09Z","updated_at":"2026-11-03T01:56:00.140679Z"}],"ghsa":[{"id":"GHSA-24fg-p96v-hxh8","title":"actionpack Cross-Site Request Forgery vulnerability","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2023-11-08T05:00:56Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2011-0447","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2011-02-14T21:00:03.087Z","modified":"2026-06-16T23:27:24.29Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:02:06.042049Z"}],"osv":[{"id":"CVE-2011-0447","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2011-02-14T21:00:03Z","modified":"2026-04-10T03:41:36.940501Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2011-0447","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2011-02-14T21:00:03.087Z","modified":"2026-10-23T17:47:42.494015881Z","updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"DSA-2247-1","title":"rails - several vulnerabilities","status":"published","published":"2011-05-31T00:00:00Z","modified":"2026-03-09T01:20:50.431593Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"GHSA-24fg-p96v-hxh8","title":"actionpack Cross-Site Request Forgery vulnerability","description":"Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage \"combinations of browser plugins and HTTP redirects,\" a related issue to CVE-2011-0696.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2024-12-07T05:38:37.003705Z","cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
