The Fair Use Doctrine, copied and pasted below from the US Copyright Office stipulates that it is legal and permissible to use copyrighted material under the fair use doctrine for purposes of parody.
Copyright experts we advised with before posting the song told us in no uncertain terms that we were within our rights to use the song because we did so in accordance with the Fair Use Doctrine.