CVE-2011-0447
actionpack Cross-Site Request Forgery vulnerability
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2011-0447- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-352
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2011-0447- Updated
- 2026-11-02
EUVDEUVD-2017-0148 No score
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.
- Record
EUVD-2017-0148- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-24fg-p96v-hxh8 No score
actionpack Cross-Site Request Forgery vulnerability
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.
- Record
GHSA-24fg-p96v-hxh8- Weakness
- CWE-352
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2011-0447- Updated
- 2026-11-02
OSVDEBIAN-CVE-2011-0447 No score
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.
- Record
DEBIAN-CVE-2011-0447- Updated
- 2026-11-02
OSVGHSA-24fg-p96v-hxh8 No score
actionpack Cross-Site Request Forgery vulnerability
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.
- Record
GHSA-24fg-p96v-hxh8- Weakness
- CWE-352
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
actionpackRubyGems |
2.1.0 up to 2.3.11 | 2.3.11 |
actionpackRubyGems |
3.0.0 up to 3.0.4 | 3.0.4 |
railsDebian:12 |
before 2.3.11-0.1 | 2.3.11-0.1 |
railsDebian:13 |
before 2.3.11-0.1 | 2.3.11-0.1 |
railsDebian:14 |
before 2.3.11-0.1 | 2.3.11-0.1 |
railsDebian:6.0 From an advisory covering 2 CVEs |
before 2.3.5-1.2+squeeze0.1, plus listed versions 2.3.5-1.2 |
2.3.5-1.2+squeeze0.1 |
railsDebian:5.0 From an advisory covering 2 CVEs |
before 2.1.0-7+lenny0.1, plus listed versions 2.1.0-62.1.0-7 |
2.1.0-7+lenny0.1 |
actionpackRubyGems |
2.1.0 up to 2.3.11, plus listed versions 2.1.12.1.22.2.22.2.32.3.10 Show 10 moreShow less2.3.22.3.32.3.42.3.52.3.62.3.72.3.82.3.8.pre12.3.92.3.9.pre |
2.3.11 |
actionpackRubyGems |
3.0.0 up to 3.0.4, plus listed versions 3.0.13.0.23.0.33.0.4.rc1 |
3.0.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2011-0447 is a medium vulnerability (CVSS 6.8) in Rubyonrails Rails, published February 14, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.42%, the 72nd percentile. Fixed in actionpack 2.3.11.
References
vupen.com/english/advisories/2011/0587
weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
securitytracker.com/id?1025060
lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html
securityfocus.com/bid/46291
debian.org/security/2011/dsa-2247
Show 15 moreShow less
groups.google.com/group/rubyonrails-security/msg/c22ea1668c0d181c?dmode=source&output=gplain
lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html
secunia.com/advisories/43274
vupen.com/english/advisories/2011/0877
lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html
secunia.com/advisories/43666
nvd.nist.gov/vuln/detail/CVE-2011-0447
github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0447.yml
web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291
web.archive.org/web/20170223045008/http://www.securitytracker.com/id?1025060
github.com/rails/rails/commit/66ce3843d32e9f2ac3b1da20067af53019bbb034
github.com/rails/rails/commit/7e86f9b4d2b7dfa974c10ae7e6d8ef90f3d77f06
github.com/advisories/GHSA-24fg-p96v-hxh8
security-tracker.debian.org/tracker/CVE-2011-0447
github.com/rails/rails