nforwardauth: Unvalidated r parameter allows post-authentication open redirect
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Reports 1
1 outlet mention it. Reports are not confirmation; each links to its source.
Description
nforwardauth is a forward auth service that allows the use of a single authentication middleware for multiple sites. Versions prior to 1.5.1 accept an unvalidated r query parameter on the /login endpoint and use them as the post-authentication redirect destination. An unauthenticated attacker can create a legitimate nforwardauth login URL that redirects a victim to an attacker-controlled website after the victim successfully authenticates. This issue may facilitate phishing and other social-engineering attacks by abusing the trust associated with the legitimate authentication domain. This vulnerability does not provide an unauthenticated ForwardAuth bypass. Version 1.5.1 contains a patch.
Text from CVE List
Affected versions 1
- nforwardauthaffected: < 1.5.1CVE List
References 4
- github.com/nosduco/nforwardauth/commit/664f2602f9e1459558d1c4c55019f6d48bc64c43Fixvia CVE List
- github.com/nosduco/nforwardauth/releases/tag/v1.5.1Fixvia CVE List
- github.com/nosduco/nforwardauth/security/advisories/GHSA-q64r-v7j5-6hfgAdvisoryvia CVE List
- github.com/nosduco/nforwardauth/pull/71Referencevia CVE List