8.5high
MaxKey 4.1.12 DefaultRedirectResolver OAuth Authorization Code Theft
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.56% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
MaxKey through 4.1.12, fixed in commit ddbb72f, contains an insufficient redirect URI validation vulnerability in DefaultRedirectResolver.hostMatches() that allows remote attackers to hijack OAuth 2.0 authorization codes by supplying a crafted redirect_uri whose hostname suffix matches a registered URI without proper dot-boundary anchoring. Attackers who control a domain ending with the registered redirect URI hostname can social-engineer victims into clicking a crafted authorization URL, causing the authorization code to be issued to the attacker-controlled URI and exchanged for an access token granting access to the victim's identity.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dromara MaxKey | up to 4.1.12 Not affected: ddbb72fb24ab8e66aa422fb14b1177330bcffb45 | CVE List |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
MaxKey through 4.1.12, fixed in commit ddbb72f, contains an insufficient redirect URI validation vulnerability in DefaultRedirectResolver.hostMatches() that allows remote attackers to hijack OAuth 2.0 authorization codes by supplying a crafted redirect_uri whose hostname suffix matches a registered URI without proper dot-boundary anchoring. Attackers who control a domain ending with the registered redirect URI hostname can social-engineer victims into clicking a crafted authorization URL, causing the authorization code to be issued to the attacker-controlled URI and exchanged for an access token granting access to the victim's identity.
NVD (es)
MaxKey hasta la versión 4.1.12, corregido en el commit ddbb72f, contiene una vulnerabilidad de validación insuficiente de URI de redirección en DefaultRedirectResolver.hostMatches() que permite a atacantes remotos secuestrar códigos de autorización de OAuth 2.0 al proporcionar una redirect_uri manipulada cuyo sufijo de nombre de host coincide con un URI registrado sin un anclaje de límite de punto adecuado. Los atacantes que controlan un dominio que termina con el nombre de host del URI de redirección registrado pueden engañar a las víctimas (mediante ingeniería social) para que hagan clic en una URL de autorización manipulada, lo que provoca que el código de autorización se emita al URI controlado por el atacante y se intercambie por un token de acceso que otorga acceso a la identidad de la víctima.
References
| https://github.com/dromara/MaxKey/issues/269 | exploit, issue-tracking, technical-description | |
| https://github.com/dromara/MaxKey/commit/ddbb72fb24ab8e66aa422fb14b1177330bcffb45 | patch | |
| https://www.vulncheck.com/advisories/maxkey-defaultredirectresolver-oauth-authorization-code-theft | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-67345 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-67345 changed 2026-10-23 | Public domain |