CVE-2021-29435 Cross-Site Request Forgery (CSRF) in trestle-auth
MediumCVSS 6.5
EPSS 0.66%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
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.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems trestle-auth(RubyGems) | = 0.4.0; = 0.4.1; >= 0.4.0, < 0.4.2 | 0.4.2 | Fixed |
| trestle-auth project trestle-auth | = 0.4.0; = 0.4.1 | No fix listed | Versions listed |
| TrestleAdmin trestle-auth | = >= 0.4.0, < 0.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems trestle-auth(RubyGems) | >= 0.4.0, < 0.4.2 | 0.4.2 |
| rubygems trestle-auth(RubyGems) | = 0.4.0 | No fix listed |
| rubygems trestle-auth(RubyGems) | = 0.4.1 | No fix listed |
| trestle-auth project trestle-auth | = 0.4.0 | No fix listed |
| trestle-auth project trestle-auth | = 0.4.1 | No fix listed |
| TrestleAdmin trestle-auth | = >= 0.4.0, < 0.4.2 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- rubygems.org product third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit
- github.com