5.4 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @dotlambda Activity log
- Created suggestion
- @dotlambda dismissed
Authlib OAuth 2.0 authorization endpoint open redirects to attacker-controlled redirect_uri on unsupported response_type
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.
References
Affected products
- ==< 1.6.10
- === 1.7.0
Matching in nixpkgs
pkgs.python313Packages.authlib
Library for building OAuth and OpenID Connect servers
pkgs.python314Packages.authlib
Library for building OAuth and OpenID Connect servers
pkgs.python313Packages.oauthlib
Generic, spec-compliant, thorough implementation of the OAuth request-signing logic
pkgs.python314Packages.oauthlib
Generic, spec-compliant, thorough implementation of the OAuth request-signing logic
pkgs.python313Packages.hawkauthlib
Hawk Access Authentication protocol
pkgs.python314Packages.hawkauthlib
Hawk Access Authentication protocol
pkgs.python313Packages.aiohttp-oauthlib
oauthlib integration for aiohttp clients
pkgs.python314Packages.aiohttp-oauthlib
oauthlib integration for aiohttp clients
pkgs.python313Packages.requests-oauthlib
OAuthlib authentication support for Requests
pkgs.python314Packages.requests-oauthlib
OAuthlib authentication support for Requests
pkgs.python313Packages.google-auth-oauthlib
Google Authentication Library: oauthlib integration
Package maintainers
-
@sumnerevans Sumner Evans <me@sumnerevans.com>
-
@flokli Florian Klink <flokli@flokli.de>
-
@sarahec Sarah Clark <seclark@nextquestion.net>
-
@terlar Terje Larsen <terlar@gmail.com>
-
@prikhi Pavan Rikhi <pavan.rikhi@gmail.com>