CVE-2025-58067 Basecamp's Google Sign-In for Rails allowed redirects to protocol-relative URI
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.1, it is possible to redirect a user to another origin if the "proceed_to" value in the session store is set to a protocol-relative URL. Normally the value of this URL is only written and read by the library or the calling application. However, it may be possible to set this session value from a malicious site with a form submission. Any Rails applications using the google_sign_in gem may be vulnerable, if this vector can be chained with another attack that is able to modify the OAuth2 request parameters. This issue has been patched in version 1.3.1. There are no workarounds.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems google_sign_in(RubyGems) | < 1.3.1; = 0.1; = 0.1.1; = 0.1.2 +11 more | 1.3.1 | Fixed |
| basecamp google_sign_in | = < 1.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems google_sign_in(RubyGems) | < 1.3.1 | 1.3.1 |
| rubygems google_sign_in(RubyGems) | = 0.1 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 0.1.1 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 0.1.2 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 0.1.3 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 0.1.4 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.0.0 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.0.1 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.0.2 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.1.0 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.1.1 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.1.2 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.2.0 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.2.1 | No fix listed |
| rubygems google_sign_in(RubyGems) | = 1.3.0 | No fix listed |
| basecamp google_sign_in | = < 1.3.1 | No fix listed |
References
- https://github.com/basecamp/google_sign_in/security/advisories/GHSA-5jch-xhw4-r43v vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/basecamp/google_sign_in/pull/75 patch
- https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc patch
- github.com product
- https://github.com/basecamp/google_sign_in/releases/tag/v1.3.1
- github.com exploit
- github.com