Can a master directly use an undergraduate thesis?
No, this is plagiarism, no matter whether this undergraduate thesis is written by yourself or by others. At the same time, master's thesis is much more difficult than undergraduate thesis, and undergraduate thesis can't reach the level of master's thesis. If the master's thesis is an undergraduate thesis, it is basically impossible to pass.