The first real chance of the match came as late as the 38th minute when Cosmos had a chance to score from a free-kick when it was drilled right-footed by Haskins, but he missed to the right.
The first half had little action as both teams were cautious and failed to take an attacking approach to the match.
Whatever Cosmos coach Jomo Sono said to the players in the changeroom worked as his side took the lead in the ten minutes after the break.
Samb’s right-footed shot from 18-yards out found the bottom-right of the net to make it 1-0 to Cosmos in the 55th minute.
In the 71st minute the visitors had Sono fuming as the Team of Choice got the equaliser. Felix Obada crossed from the left and found the head of in-form forward Malajila, who placed the ball into bottom-right corner of goal from 12-yards.
Cosmos soon went for the winner and three minutes later a right-footed shot by Siyabonga Nontshinga from 25-yards out missed to the left.
The draw means that the highest position Cosmos can get to is 15th place, which is the relegation/promotion play-off spot, but they have an inferior goal difference compared to Santos who are directly above them.