OAuth
OAuth: Cross-origin token-request redirects can expose signed request metadata
OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-200
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ruby-oauth oauth
- >= 0.5.5, < 1.1.6
Fixed in 1.1.6
Mitigation
Upgrade oauth to 1.1.6 or later.
References
- Vendor advisory github.com/ruby-oauth/oauth/security/advisorie…
- Patch github.com/ruby-oauth/oauth/commit/d069dc8c4c9…
- Release notes github.com/ruby-oauth/oauth/releases/tag/v1.1.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.