Hi,
My dictionary says this.
Dissertation - A detailed discourse on a subject, especially one submitted in partial fulfillment of the requiremments of a doctorate.
Thesis
1. A proposition to be maintained or proved.
2. A dissertation, especially by a candidate for a degree.
Note that these words can be used outside the academic context of a university.
Best wishes, Clive