Duende.BFF.Yarp is vulnerable to Exposure of Sensitive Information
68
CVE Score
Medium
Exposure of Sensitive Information
Duende.BFF proxies requests to remote APIs through its YARP integration (AddYarpConfig or AddBffExtensions with MapReverseProxy or MapBffReverseProxy) and forwards the browser's inbound Cookie header to the upstream API by default on routes with BFF access token metadata. Anyone who can read request headers at that API, its logs, or an intermediary proxy can replay the forwarded BFF session cookie directly against the BFF to act as the signed in user. The BFF's anti-forgery header check does not block this replay, since the attacker sends the request directly and can add the header. The fix removes the Cookie header from proxied YARP requests by default.
Upgrade the Duende.BFF.Yarp library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use the YARP integration with a route that carries BFF access token metadata.
0.0.1 - 2.2.0
Fixed in 2.2.12.3.0 - 2.3.0
Fixed in 2.3.13.0.0 - 3.0.0
Fixed in 3.0.13.1.0 - 3.1.0
Fixed in 3.1.14.0.0 - 4.0.3
Fixed in 4.0.44.1.0 - 4.1.2
Fixed in 4.1.34.2.0 - 4.2.0
Fixed in 4.2.14.3.0 - 4.3.0
Fixed in 4.3.1Duende.BFF.Yarp is vulnerable to Exposure of Sensitive Information in versions 0.0.1 - 2.2.0, 2.3.0 - 2.3.0, 3.0.0 - 3.0.0, 3.1.0 - 3.1.0, 4.0.0 - 4.0.3, 4.1.0 - 4.1.2, 4.2.0 - 4.2.0 and 4.3.0 - 4.3.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.