CVE-2020-26877: ApiFest OAuth 2.0 Server - Open Redirect
- Cve: CVE-2020-26877
- Name: ApiFest OAuth 2.0 Server - Open Redirect
- 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.
- Impact: Attackers can obtain leaked authorization codes by manipulating redirect URIs, potentially leading to unauthorized access or token theft.
- Remediation: Implement proper redirect URI validation according to RFC 6749 and register valid redirect URIs for clients.
- Vulnerability type: open_redirect
- Vulnerability impact: information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a request with manipulated redirect_uri parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00864
- Epss percentile: 0.5953
- Assignee: [email protected]
- Published at: 2022-06-29T14:15:07Z
- Age in days: 1609
- Modified at: 2026-06-17T03:08:27Z
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-26877
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-601 | URL Redirection to Untrusted Site |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.apifest.org/index.html | Vendor Advisory |
| https://github.com/apifest/apifest-oauth20 | Third Party Advisory |
| https://tools.ietf.org/html/rfc6749#section-3.1.2.3 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apifest:oauth_2.0_server | = 0.3.1 | no | nvd | /v1/products/apifest/oauth_2.0_server |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts