Open redirect via incomplete redirect pattern validation
Published Jun 29, 2020 · Updated Aug 4, 2024
Open redirect in OAuth2 Proxy 5.1.1 through versions before 6.0.0 allows remote attackers to redirect authenticated users to harmful sites. The IsValidRedirect regular expression rejects only a narrow leading-slash pattern, so crafted values with repeated whitespace or dot segments between slash characters pass validation before browser normalization. Exploitation requires a user to follow an attacker-supplied link and complete the OAuth authentication flow, after which the proxy sends that user away from the intended application.
Summary
What happened
Open redirect in OAuth2 Proxy 5.1.1 through versions before 6.0.0 allows remote attackers to redirect authenticated users to harmful sites. The IsValidRedirect regular expression rejects only a narrow leading-slash pattern, so crafted values with repeated whitespace or dot segments between slash characters pass validation before browser normalization. Exploitation requires a user to follow an attacker-supplied link and complete the OAuth authentication flow, after which the proxy sends that user away from the intended application.
The record
- CVE
- CVE-2020-4037
- Published
- Jun 29, 2020
- Updated
- Aug 4, 2024
- Vendor
- OAuth2 Proxy
- Product
- OAuth2 Proxy
- Classifications
- CWE-601, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 29, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record 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=>= 5.1.1, < 6.0.0
What conditions does exploitation require?
What is affected?
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
- Upstream open-redirect regression payloadsproof 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