Not illegal but unprofessional
Not trying to attack anyone here, it seems to me as it might no be illegal, but certainly unprofessional.
Further more, its my understanding, that what is know as TRUST Counselors, should act in the same manner as a psychologist would, not allowed to divulge...