Open Redirect Affecting github.com/ploxiln/oauth2_proxy Open this link in a new tab package, versions <2.7.0


0.0
medium
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Scope

    Changed

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-GOLANG-GITHUBCOMPLOXILNOAUTH2PROXY-674450

  • published

    14 Sep 2020

  • disclosed

    14 Sep 2020

  • credit

    Michele Romano

How to fix?

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

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.