Australia beat the United Arab Emirates 2-1 to set up a World Cup play-off with Peru next Monday for a place in Qatar.
Brazil-born Caio Canedo equalised from close range after poor defending.
But Ajdin Hrustic's heavily deflected strike was enough to send Australia into the intercontinental play-off.
The game was played in 33C heat, although the stadium in Al Rayyan has air conditioning.
They meet South Americans Peru at the same venue for a place in the World Cup.
The final World Cup place will be decided on Tuesday when Costa Rica face New Zealand.