The security implications of a potential "Grexit" could be at least as ominous as the financial ones.