Skip to content
OpenAdvisories
Medium CVE-2011-0447 EUVD-2017-0148GHSA-24fg-p96v-hxh8

actionpack Cross-Site Request Forgery vulnerability

Published Feb 14, 2011 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.3.11-0.1 —
Debian 13 rails 2.3.11-0.1 —
Debian 12 rails 2.3.11-0.1 —
Debian 6.0 rails 2.3.5-1.2+squeeze0.1 DSA-2247-1
Debian 5.0 rails 2.1.0-7+lenny0.1 DSA-2247-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack >= 2.1.0, < 2.3.11 2.3.11 GHSA-24fg-p96v-hxh8
RubyGems actionpack >= 3.0.0, < 3.0.4 3.0.4 GHSA-24fg-p96v-hxh8

Advisories 1

References