Description
The RedirectHandler middleware in microsoft/kiota-java (com.microsoft.kiota:microsoft-kiota-http-okHttp v1.9.0) and other Kiota libraries fails to strip sensitive HTTP headers when following 3xx redirects to a different host or scheme. Only the Authorization header is removed; Cookie, Proxy-Authorization, and all custom headers are forwarded to the redirect target.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
None
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
High
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
Affected products
- Microsoft / github.com/microsoft/kiota-http-go< 1.5.5 – < 1.5.5
- Microsoft / kiota-java< 1.9.1 – < 1.9.1
- Microsoft / kiota-typescript< 1.0.0-preview.100 – < 1.0.0-preview.100
- Microsoft / microsoft-kiota-abstractions< 1.9.1 – < 1.9.1
- Microsoft / Microsoft.Kiota.Abstractions< 1.22.0 – < 1.22.0
- Microsoft / microsoft-kiota-http< 1.9.9 – < 1.9.9