Bug 677631 (CVE-2011-0447) - CVE-2011-0447 rubygem-actionpack: CSRF flaws due improper validation of HTTP headers containing X-Requested-With header
Summary: CVE-2011-0447 rubygem-actionpack: CSRF flaws due improper validation of HTTP ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-0447
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 677628 677629
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-15 12:09 UTC by Jan Lieskovsky
Modified: 2021-10-19 21:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 21:47:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2011-02-15 12:09:26 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-0447 to
the following 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.

References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0447
[2] http://groups.google.com/group/rubyonrails-security/msg/c22ea1668c0d181c?dmode=source&output=gplain
[3] http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails

Upstream patch:
[4] http://weblog.rubyonrails.org/assets/2011/2/8/2-3-csrf.patch
    (against v2.3 series)

Comment 1 Jan Lieskovsky 2011-02-15 12:12:13 UTC
This issue affects the versions of the rubygem-actionpack package,
as shipped with Fedora release of 13 and 14.

--

This issue affects the version of the rubygem-actionpack package,
as present within EPEL-5 repository.

Please schedule an update.

Comment 2 Jan Lieskovsky 2011-02-15 12:12:53 UTC
Created rubygem-actionpack tracking bugs for this issue

Affects: fedora-all [bug 677628]
Affects: epel-5 [bug 677629]

Comment 3 Fedora Update System 2014-11-16 04:17:03 UTC
rubygem-actionpack-2.3.18-1.el5, rubygem-activerecord-2.3.18-1.el5, rubygem-activesupport-2.3.18-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.