Cross-site Request Forgery (CSRF) Affecting rack-contrib package, versions <1.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RACKCONTRIB-20391
  • published2 Aug 2017
  • disclosed9 Jun 2014
  • creditChris Gamble (Fugiman)

Introduced: 9 Jun 2014

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade rack-contrib to version 1.2.0 or higher.

Overview

rack-contrib includes a variety of add-on components for Rack, a Ruby web server interface.

Affected versions of the package are vulnerable to Cross-site Request Forgery (CSRF) attacks due to not properly restricting the SWF file format. An attacker can use JSONP callbacks to cause a trusted domain to return a specially crafted malicious SWF file, which can make requests to the trusted domain with the victims credentials. Note: Related to CVE-2014-4671.

You can read more about Cross-site Scripting (XSS) on our blog.

CVSS Scores

version 3.1