Skip to content

CVE-2025-58067 Basecamp's Google Sign-In for Rails allowed redirects to protocol-relative URI

MediumCVSS 4.2 EPSS 0.25% PoC
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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