Open Redirect in Apifest Oauth 2.0 Server
CVE-2020-26877
ApiFest OAuth 2.0 Server 0.3.1 does not validate the redirect URI in accordance with RFC 6749 and is susceptible to an open redirector attack. Specifically, it directly sends an authorization code to the redirect URI submitted with the authorization request, without checking whether the redirect URI is registered by the client who initiated the request. This allows an attacker to craft a request with a manipulated redirect URI (redirect_uri parameter), which is under the attacker's control, and consequently obtain the leaked authorization code when the server redirects the client to the manipulated redirect URI with an authorization code. NOTE: this is similar to CVE-2019-3778.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.009, 58.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apifest Oauth 2.0 Server — versions 0.3.1
Weakness classification (CWE)
References
- tools.ietf.org/html/rfc6749 (Third Party Advisory)
- github.com/apifest/apifest-oauth20 (Third Party Advisory)
- www.apifest.org/index.html (Vendor Advisory)