UN: Afghanistan could become terror haven