Description
Net::OAuth::Client versions before 0.32 for Perl allow the service provider to silently downgrade OAuth 1.0a to OAuth 1.0 in get_request_token.
Passing a callback to the constructor selects OAuth 1.0a. get_request_token then revokes that choice when the request token response omits oauth_callback_confirmed, with no exception, no warning and no option to require 1.0a. The access token request is built from the OAuth 1.0 message class, which has no verifier parameter, so oauth_verifier is dropped from the request even when get_access_token was passed one.
oauth_verifier is the binding that OAuth 1.0a added between the authorization step and the token exchange. An application that asked for 1.0a and gets 1.0 is open to OAuth 1.0 session fixation, where an attacker obtains a request token, has the victim authorize it, and then completes the exchange themselves, linking the victim's provider account to a session the attacker controls. No attacker action sets up the downgrade: a provider that does not confirm the callback is enough.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Net-OAuth | < 0.32 | 0.32 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnet-oauth-perl | 0.32-1 | — |
| Debian 13 | libnet-oauth-perl | No fix yet | — |
| Debian 12 | libnet-oauth-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnet-oauth-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libnet-oauth-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libnet-oauth-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Net-OAuth | 0.330.0-1.1 | openSUSE-SU-2026:11551-1 |
Advisories 1
- openSUSE-SU-2026:11551-1 perl-Net-OAuth-0.330.0-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
References
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-jh72-4qq2-8j6g vendor-advisory
- https://metacpan.org/release/RRWO/Net-OAuth-0.32/changes release-notes
- https://github.com/vurtdev/Net-OAuth/commit/fd505dac1988723ed96721657663f2e4ac731644.patch patch
- https://datatracker.ietf.org/doc/html/rfc5849#section-2.1 technical-description
- https://datatracker.ietf.org/doc/html/rfc5849#section-2.3 technical-description