> We have a Java-based server that runs on W2K machine behind a firewall (Red
> Hat Linux 9 - iptables). Remote clients connect to the server via RMI, on a
[quoted text clipped - 13 lines]
> Apache Web server (so the firewall routes all packets with the destination
> port 80 to that W2K machine).
Basically, you would be allowing unrestricted access to the RMI and web
servers. You'd likely want to run RMI over SSL, with client and server
authentication (as otherwise you run the risk of unauthenticated
entities sending RMI invocations to your application server).
One option might be to just open the firewall to specific address ranges
(e.g. if the clients with dynamic IPs are all within the same subnet).
An additional recommendation might be to put these boxes in a DMZ
(basically add a second firewall between the Win2K box and the rest of
your internal network restricting outbound connections from the Win2K
server, so any successful breaches can't be used as a "launching point"
to attack the rest of your network).
Alex Molochnikov - 31 Jul 2004 16:40 GMT
Thank you for the response. I realize that access to the RMI methods will be
open to everyone. But my question still stands: what are possible dangers of
this approach? If an intruder tries to connect to the JVM using the remote
methods, he will be out of luck due to the design of the server (e.g. the
method parameters include a password). But is there anything in JVM outside
of the application that can be exploited? Any vulnerability in the RMI, like
a method that I did not think about, but hackers know of?
Regards,
AM
> Basically, you would be allowing unrestricted access to the RMI and web
> servers. You'd likely want to run RMI over SSL, with client and server
[quoted text clipped - 8 lines]
> server, so any successful breaches can't be used as a "launching point"
> to attack the rest of your network).