Vulnerability · Published Jun 29, 2022 · Assigned by mitre
CVE-2020-26877
Medium 6.1
In plain English
A medium-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 58% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
References
- https://tools.ietf.org/html/rfc6749#section-3.1.2.3 x_refsource_MISC
- https://github.com/apifest/apifest-oauth20 x_refsource_MISC
- http://www.apifest.org/index.html x_refsource_MISC