CVE-2011-0447: rubyonrails rails Cross-Site Request Forgery (CSRF)
Vulnerability summary
CVE-2011-0447 is a medium (CVSS 6.8) Cross-Site Request Forgery (CSRF) vulnerability in rubyonrails rails. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 14-02-2011PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.42%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.42% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- rails< 2.3.11-0.1
RubyGems1 product
- actionpack≥ 2.1.0, < 2.3.11 | ≥ 3.0.0, < 3.0.4
Rubyonrails1 product
- rails2.1.0 | 2.1.1 | 2.1.2 | 2.2.0 | 2.2.1 | 2.2.2 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.9 | 2.3.10 | 3.0.0 | 3.0.0:beta | 3.0.0:beta2 | 3.0.0:beta3 | 3.0.0:beta4 | 3.0.0:rc | 3.0.0:rc2 | 3.0.1 | 3.0.1:pre | 3.0.2 | 3.0.2:pre | 3.0.3 | 3.0.4:rc1
3 vendors · 3 products
References
20 links- weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-railsX Refsource CONFIRMPatchVendor AdvisoryWEB
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.htmlVendor AdvisoryX Refsource FEDORAWEB
- groups.google.com/group/rubyonrails-security/msg/c22ea1668c0d181c?dmode=source&output=gplainMailing ListX Refsource MLISTPatchWEB
- lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.htmlVendor AdvisoryX Refsource FEDORAWEB
Show all 20 references
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.htmlVendor AdvisoryX Refsource FEDORAWEB
- github.com/rails/railsPACKAGE