Shit man you'll get rich by suing them for that.
Generally the photographer has rights to use a picture, as well as the person(s) in the picture.
However what you're describing is in no way legal, unless they're based in some fucked up country that's so screwed on drugs they haven't come around to creating laws yet.
__________________
|