CWE
352
Advisory Published
Advisory Published
Updated

CVE-2011-0447: CSRF

First published: Mon Feb 14 2011(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/actionpack>=3.0.0<3.0.4
3.0.4
rubygems/actionpack>=2.1.0<2.3.11
2.3.11
Ruby on Rails=2.1.0
Ruby on Rails=2.1.1
Ruby on Rails=2.1.2
Ruby on Rails=2.2.0
Ruby on Rails=2.2.1
Ruby on Rails=2.2.2
Ruby on Rails=2.3.2
Ruby on Rails=2.3.3
Ruby on Rails=2.3.4
Ruby on Rails=2.3.9
Ruby on Rails=2.3.10
Ruby on Rails=3.0.0
Ruby on Rails=3.0.0-beta
Ruby on Rails=3.0.0-beta2
Ruby on Rails=3.0.0-beta3
Ruby on Rails=3.0.0-beta4
Ruby on Rails=3.0.0-rc
Ruby on Rails=3.0.0-rc2
Ruby on Rails=3.0.1
Ruby on Rails=3.0.1-pre
Ruby on Rails=3.0.2
Ruby on Rails=3.0.2-pre
Ruby on Rails=3.0.3
Ruby on Rails=3.0.4-rc1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2011-0447?

    CVE-2011-0447 is classified as a moderate severity vulnerability, making it a concern for applications using affected versions.

  • How do I fix CVE-2011-0447?

    To fix CVE-2011-0447, update your Ruby on Rails application to version 2.3.11 or later or 3.0.4 or later.

  • Which versions of Ruby on Rails are affected by CVE-2011-0447?

    CVE-2011-0447 affects Ruby on Rails versions 2.1.x, 2.2.x, 2.3.x before 2.3.11, and 3.x before 3.0.4.

  • What type of attack does CVE-2011-0447 facilitate?

    CVE-2011-0447 allows remote attackers to conduct cross-site request forgery (CSRF) attacks through unvalidated HTTP requests.

  • Is CVE-2011-0447 specific to any particular installation of Ruby on Rails?

    CVE-2011-0447 is not specific to a particular installation; it affects any application using the vulnerable versions of Ruby on Rails.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203