JDK-8158963 : RMI server-side multiplex protocol should be disabled
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-06-07
  • Updated: 2018-04-28
  • Resolved: 2016-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b144Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8168690 :  
Description
The RMI code supports a disused protocol called the "multiplex" protocol. This was removed by JDK-4183204 in JDK 1.2.2.

The server side of the RMI protocol should be disabled and eventually removed.

A system property "sun.rmi.transport.tcp.enableMultiplexProtocol" can be added with a default of "false".

In TCPTransport.ConnectionHandler.run(), the boolean should be checked when a request is received to create a multiplexProtocol connection.
If the flag is false, it should send log the rejection and send a Nak.

For compatibility, setting the system property to true will accept and process the request as before.