Is anyone doing any validation of "who" is sending messages to a NON SSL TCP Listener channel? #5980
-
Our leadership has asked us to look into solutions for validating/verifying the sender of hl7 messages into our Mirth system as actually being who the channel was setup for. Without going with the complexities of SSL certificates, my initial thought was utilizing MSH fields in the messages, but that can easily be mimicked. So the next thought was using the remoteAddress Source Mapping, ip address, which would allow for a little more validation, but with the understanding that IPs could be spoofed by a bad actor. (Yes we do have VPNs setup to our external vendors). Other than those 2 options (MSH and IP), and w/o using SSL/Certificates, are there any other methods available to Mirth that I'm not thinking about? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
I would not expect ports to be open to anyone but the other side you approved to send messages. The question sorta puzzles me. If there are bad actors on their side, you have a much larger problem. You should not need to validate an IP address in Mirth, since you should already be explicitly permitting the other side inbound by VPN tunnel / firewall rules. If you are NOT doing that, you really need to fix that ASAP. MSH-8 is a security field that would normally be used to authenticate against some service, but you and the sender need to agree to use that. |
Beta Was this translation helpful? Give feedback.
On your last comment - Are you already allowing by the explicit IP addresses of the other sides integration engine (rather than allow all from the other side)? If yes, short of what you mentioned in your initial post of checking MSH stuff, you would have to ask the client to participate in some shared credentialing within the HL7 message itself that would likely need to be token based and thereby expire and require renewal, I suppose other schemes would work of course. That is likely a heavy lift on their side.
If management said "you must validate the messages" I would move the hl7 over HTTPS with JWTs.