NetSight
medium6.1No CVE yet

GHSA-grh9-37g7-53mj

WireGuard Portal v2 has Open Redirect Vulnerability in OAuth Authentication Flow

Impact

### Summary An Open Redirect vulnerability exists in the OAuth authentication flow that allows attackers to redirect users to external malicious websites after authentication. The vulnerability is caused by insufficient validation of the return parameter in the OAuth login initialization endpoint. ### Patches The problem was fixed in the latest release, v2.1.2. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.

An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/h44z/wg-portal<= 2.1.12.1.2

Weakness classification

References