Open Redirect

Affecting github.com/ploxiln/oauth2_proxy package, versions <2.7.1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

github.com/ploxiln/oauth2_proxy is an a reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group.

Affected versions of this package are vulnerable to Open Redirect. As users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This is expected to be the original URL that the user was trying to access. This redirect URL is checked within the proxy and validated before redirecting the user to prevent malicious actors providing redirects to potentially harmful sites.

Remediation

Upgrade github.com/ploxiln/oauth2_proxy to version 2.7.1 or higher.

References

CVSS Score

4.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Credit
ploxiln
CWE
CWE-601
Snyk ID
SNYK-GOLANG-GITHUBCOMPLOXILNOAUTH2PROXY-590117
Disclosed
24 Jul, 2020
Published
24 Jul, 2020