Regarding Publication Authorship
It is very possible that it is unethical, but it would take a bit of analysis to clarify it. Your course professor is probably a good person to adjudicate it. I'd suggest that you take the problem to them, preferably in person. 

Using other people's work without attribution is plagiarism. 

Go see the prof.