Skip to content

Improper Input Validation in actionpack

Moderate severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated May 26, 2023

Package

bundler actionpack (RubyGems)

Affected versions

>= 2.1.0, < 2.1.3
>= 2.2.0, < 2.2.2

Patched versions

2.1.3
2.2.2

Description

Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.

References

Published by the National Vulnerability Database Dec 16, 2009
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated May 26, 2023

Severity

Moderate

Weaknesses

CVE ID

CVE-2008-7248

GHSA ID

GHSA-8fqx-7pv4-3jwm

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.