Australia upset the Blitzboks 17-12 in the semi-finals of the HSBC SVNS Perth after Aden Ekanayake scored the winning try in a sudden-death play-off.