Post-auth phishing redirects via incomplete backslash validation
Published Jul 5, 2023 · Updated Feb 13, 2025
Open redirect in Gitea before 1.19.4 allows remote authenticated users to send victims to an external site through a crafted post-login redirect. RedirectToFirst rejected only slash-led double separators, allowing a backslash-prefixed redirect_to value to produce a cross-domain Location header. Exploitation requires an authenticated POST flow and a victim who follows the resulting redirect, enabling phishing or credential theft.
Summary
What happened
Open redirect in Gitea before 1.19.4 allows remote authenticated users to send victims to an external site through a crafted post-login redirect. RedirectToFirst rejected only slash-led double separators, allowing a backslash-prefixed redirect_to value to produce a cross-domain Location header. Exploitation requires an authenticated POST flow and a victim who follows the resulting redirect, enabling phishing or credential theft.
The record
- CVE
- CVE-2023-3515
- Published
- Jul 5, 2023
- Updated
- Feb 13, 2025
- Vendor
- Gitea
- Product
- Gitea
- Classifications
- CWE-601, CAPEC-178, T1204.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 5, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <1.19.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Backslash-prefixed redirect_to proofproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo