Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 677631 (CVE-2011-0447)

Summary: CVE-2011-0447 rubygem-actionpack: CSRF flaws due improper validation of HTTP headers containing X-Requested-With header
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: hbrock, mastahnke, sseago, vanmeeuwen+fedora, vondruch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 21:47:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 677628, 677629    
Bug Blocks:    

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.