VDB
KO
MEDIUM

GHSA-24fg-p96v-hxh8

actionpack Cross-Site Request Forgery vulnerability

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionpack
Introduced in: 2.1.0 Fixed in: 2.3.11
Fix bundle update actionpack
RubyGems / actionpack
Introduced in: 3.0.0 Fixed in: 3.0.4
Fix bundle update actionpack

References