Cross-site Request Forgery (CSRF) Affecting trestle-auth package, versions >=0.4.0, <0.4.2


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.07% (29th percentile)
Expand this section
NVD
6.5 medium

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 ID SNYK-RUBY-TRESTLEAUTH-1245466
  • published 14 Apr 2021
  • disclosed 14 Apr 2021
  • credit Tomek Rabczak

How to fix?

Upgrade trestle-auth to version 0.4.2 or higher.

Overview

trestle-auth is an authentication plugin for the Trestle admin framework.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker can create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials.

References