CVE-2021-45328
Open redirect in Gitea
Record summary
CVE-2021-45328 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
github.com/go-gitea/giteaBrowse Go / github.com/go-gitea/gitea | GitHub Advisory | Before 1.4.3 · Fixed in 1.4.3 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMGitea < 1.4.3 - Open RedirectCVSS 6.1
Gitea before version 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs. The vulnerability exists in the redirect_to parameter used on the login page (/user/login). Due to improper validation of the redirect URL, an attacker can craft a malicious link that redirects authenticated users to an arbitrary external website after login.
Impact
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
Remediation
Upgrade Gitea to version 1.4.3 or later to fix the open redirect vulnerability.
Source: ProjectDiscovery