This is not unique to WebRTC. The same result could be achieved by sending a http request to localhost. The only difference in this case is that using WebRTC doesn't log a http request
But still, you could do the same for stun, turn, sdp. Disallow local host.