The teenager was walking through a park in Salford when she was attacked, police say.