If a recruiter wants to know who is interested in this candidate and for what position, then its fine to tell them about the positions applied. But if recruiter's only intention is to find out who is hiring then that is unethical indeed. More than that it is disappointing for candidates who are searching jobs.