CSRF in Trestleadmin Trestle-Auth
CVE-2021-29435
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.007 · 52.6th percentile
- Published
- 2021-04-13
trestle-auth is an authentication plugin for the Trestle admin framework. A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to 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. The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 52.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Trestleadmin Trestle-Auth — versions >= 0.4.0, < 0.4.2
- Trestle-Auth Project — versions 0.4.0, 0.4.1
Weakness classification (CWE)
References
- github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf (Third Party Advisory)
- github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23… (Patch, Third Party Advisory)
- rubygems.org/gems/trestle-auth (Product, Third Party Advisory)