Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/authelia/authelia/v4
  4. ›
  5. CVE-2021-29456

CVE-2021-29456: URL Redirection to Untrusted Site ('Open Redirect')

March 16, 2023

Utilizing a HTTP query parameter an attacker is able to redirect users from the web application to any domain. The URL of the intended redirect should always be checked for safety prior to forwarding the user. Other endpoints of the web application already do this, they check both that the domain is using the HTTPS protocol and that it exists on a domain associated with the application. An attacker is able to use this unintended functionality to redirect users to malicious sites. This particular security issue allows the attacker to make a phishing attempt seem much more trustworthy to a user of the web application as the initial site before redirection is familiar to them, as well as the actual URL which they have theoretically visited frequently.

References

  • github.com/advisories/GHSA-36f2-fcrx-fp4j
  • github.com/authelia/authelia/security/advisories/GHSA-36f2-fcrx-fp4j
  • nvd.nist.gov/vuln/detail/CVE-2021-29456

Code Behaviors & Features

Detect and mitigate CVE-2021-29456 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.28.0

Fixed versions

  • v4.28.0

Solution

Upgrade to version 4.28.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/github.com/authelia/authelia/v4/CVE-2021-29456.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.