REDHAT-BUG-1386103: Medium severity openjdk 8 vulnerability
A flaw was found in the way the Networking component of OpenJDK handled HTTP proxy authentication. A Java application could possibly expose HTTPS server authentication credentials via a plain text network connection to an HTTP proxy if proxy asked for authentication.
Two new network system properties are introduced as part of the fix which restrict HTTP authentication schemes that can be used for authentication to proxy depending on whether proxied request is HTTP or HTTPS:
- jdk.http.auth.proxying.disabledSchemes lists authentication schemes that can not be used for proxy authentication when proxying HTTP request. No schemes are disabled by default.
- jdk.http.auth.tunneling.disabledSchemes lists authentication schemes that can not be used for proxy authentication when proxying HTTPS request (using HTTP CONNECT method). The 'Basic' HTTP authentication scheme is disabled by default.
Affected Software
Event History
Frequently Asked Questions
When is an application exposed to this issue?
Exposure requires a Java application to use an HTTP proxy that requests proxy authentication while handling an HTTPS request. In that situation, HTTPS server authentication credentials could be sent over the plain-text connection to the proxy.
What is disabled by default after the fix?
The Basic HTTP authentication scheme is disabled by default for proxy authentication when tunneling HTTPS requests through an HTTP proxy using CONNECT. No authentication schemes are disabled by default for proxying ordinary HTTP requests.
What configuration controls can be used to restrict proxy authentication schemes?
Use jdk.http.auth.proxying.disabledSchemes to block schemes for proxied HTTP requests, and jdk.http.auth.tunneling.disabledSchemes to block schemes for HTTPS requests tunneled through a proxy. These properties list authentication schemes that must not be used.