Universiti Malaya (UM) has confirmed that it will investigate claims of sexual harassment made by one of its students.