 The only original song lyrics in the movie are those to "The  Greatest Adventure" and other sections where that melody is used.  All others are directly from the book as written by J.R.R. Tolkien  or adaptations of them. The credits correctly state "Lyrics written  and adapted by Jules Bass" although Tolkien should have also been  credited. More than half the lyrics used are his from the book.