JOHANNESBURG (AFP) - Barcelona defender Daniel Alves spared Brazil's blushes as his late goal earned the five time world champions a 1-0 win over spirited South Africa here Thursday to book their place in the Confederations Cup final.
This semi-final against the hosts was heading for extra time until Alves, in an inspired move by coach Dunga, replaced Andre Santos and broke the stalemate with a curling free kick in the 88th minute.
Explaining his master move Dunga said: "We knew it was going to be difficult, we knew South Africa were going to attack, to defend and counter attack.
"The game was very tight so I sent on an aggressive player (Alves) who is very quick and a specialist in set pieces, he practices set pieces every day.
"We had to make use of any opportunity that came our way so a foul in fornt of goal was perfect for us."
Brazil now face the United States in Sunday's final with South Africa heading to Rustenburg for the third place play-off with Spain.
"I think we played very well against a team recognised as one of the best in world and even surprised Brazil. I'm very proud," said Brazil-born South Africa coach Joel Santana.
"It seemed as though it would be 0-0 but then Brazil had the set piece relying on its experience placing three players in our wall to make it difficult for our keeper.
"We showed we were able to hold our own. Now we have another year to prepare for the World Cup."
South Africa were without suspended midfielder Macbeth Sibaya, his place taken by Siphiwe Tshabalala, while Brazil midfielder Luisao started for injured Juan.
The two adversaries made it into the last four in wildly contrasting ways - Brazil sauntering through as Group B leaders with maximum points, South Africa edging through on goal difference as Group A runners-up.
With President Jacob Zuma watching, about the only one of the 48,000 fans not blowing into a vuvuzela, South Africa made a promising start as they fought to make their first final since the 1996 African Nations Cup.
Against the run of play Itumelang Khune was forced into action to save a Ramires effort while shortly after his counterpart Julio Cesar was in full flight to cover a long range effort from speedy defender Siboniso Gaxa.
South Africa were giving as good as they got as Brazil tried to work the ball repeatedly down the left flank using Inter Milan back Maicon as the key link.
On 21 minutes they should have scored only for Tshabalala's header off a freekick to go high.
As the half hour beckoned the Kaizer Chiefs midfielder unleashed a carefully constructed 30 metre freekick with only Cesar's palm preventing the hosts taking the lead.
Down at the other end Khune safely held onto Andre Santos' volley.
Kaka produced his first bit of magic as he darted through the South African defence but the Real Madrid forward's curving shot drifted wide of the far post.
Brazil were fortunate not to go into the break trailing as Steven Pienaar had Cesar beaten with his stinging 35 metre shot from the right but the status quo was upheld when the ball edged wide.
The holders were not at their brilliant best against a South African side that were scampering after every ball as if their lives depended on it.
On the hour, with Dunga looking on pensively, Teko Modise's close range shot deflected off Luisao before hitting the beaten Cesar's right post in a period of domination from Joel Santana's side.
With eight minutes left and as extra time loomed Dunga introduced Alves into the fray and the Barcelona defender repaid the confidence when he beat the Bafana Bafana wall with a thundering freekick two minutes from time.
for André Santos 82'
for Luís Fabiano 90'
|Barcelona transfer ban suspended|
|Rossi returns to training|
|Liverpool owners already planning for next season|
|Verbeek suspended by Nuremberg|
|League One Preview: Shrewsbury must win as relegation battle intensifies|
|Chelsea tie ´completely open´, says Filipe Luis|
|Title race will go to the wire - Pellegrini|
|Farina sacked by Sydney FC|
|Cech suffers dislocated shoulder|
|Ronaldo fitness will not be risked - Ancelotti|
|O´Farrell: Moyes sacking a growing trend|
|Serie A Preview: Juventus out to seal title, Roma host Milan|
|Leicester dominance unexpected, says Pearson|
|Copa Libertadores: Bolivar 1 Leon 1 (3-3 agg)|
|Bundesliga Preview: Nuremberg still fighting for survival|
|No regrets for Leonardo|
|Ayre: Champions League vital to attract stars|
|Wilkins backs Ancelotti for United|
|Mignolet: 30-goal Suarez ´amazing´|
|Giroud: I want to stay|
|Advantage Chelsea, says Simeone|
|Mourinho flags weakened Anfield line-up|
|Cech out for season, Terry facing fitness fight|
|Gabi: Chelsea draw leaves bad taste|
|Championship Wrap: Leicester crowned champions, Reading boost play-off hopes|
|Schwarzer praises determined Chelsea|
|UEFA Champions League: Atletico Madrid 0 Chelsea 0|
|AFC Champions League Wrap: Defending champions Guangzhou progress|
|I feel sorry for Moyes - Ancelotti|
|United players should be ashamed, says Keane|
|Valcke: Stadium will be ready for World Cup opener|
|UEFA Europa League Preview: Sevilla v Valencia|
|Pique defends Fabregas|
|Kehl out for two weeks with groin injury|
|McCartney wants new West Ham deal|
|Diaby set for Arsenal return|
|De Sciglio claims Real interest|
|Capoue returns to Tottenham training|
|Icardi wants to stay at Inter|
|Plenty of positives for Monreal|
|Mirallas out of Everton run-in|
|I want Ronaldo to play - Guardiola|
|Blanc expects Ibrahimovic return|
|Bodde in induced coma|
|Sagbo fined after admitting quenelle charge|
|Guardiola rules out United switch|
|UEFA Europa League Preview: Benfica v Juventus|
|AFC Wimbledon charged with fielding an ineligible player|
|Salvio undergoes surgery|
|McCarthy dreaming of Europe|
|Khedira may return before end of season|
|Ronaldo faces fitness test ahead of Bayern clash|
|Fryatt in Bruce´s plans|
|Bale back in Real training|
|Tonev ready to produce for Villa|
|Hard work ahead for Newcastle, says Pardew|
|Risse hails ´incredible feeling´ after promotion|
|Jones rues slow start|
|Blackstock hit with FA charge|
|No decision over Lyon future, says Garde|
|Giggs named interim United boss|
|Klopp ´committed to Dortmund´|
|Houllier backs Liverpool title bid|
|Marchisio expects difficult Benfica test|
|Gabi hoping Torres will not make return|
|Five low points of Moyes´ Manchester United reign|
|Davies expects Bony interest|
|United part company with Moyes|
|Top-half finish needed for Schuster, Malaga|
|Susic asks for Pjanic, Lulic to be released early|
|Mertesacker: Injuries hampered campaign|
|Sterling hails Rodgers|
|Capello to retire after 2018 World Cup|
|Paraguay Division Profesional Wrap: Libertad stay top with big win|
|Chile Primera Division Wrap: Relegation battle continues|
|Uruguay Primera Division Wrap: Penarol stay top|
|Argentina Primera Division Wrap: Gimnasia La Plata go top|
|La Liga: Malaga 2 Villarreal 0|
|Mel ready for ´cup final´|
|City have a ´duty´ to push for title, says Pellegrini|
|Mel rues early City goal|
|Pellegrini unsure on Silva injury|
|Primeira Liga Wrap: Porto clinch third, Braga European push ends|
|Turkish Super Lig Wrap: Fenerbahce celebrations delayed, Galatasaray thrashed|
|Premier League: Manchester City 3 West Brom 1|
|Dyche lauds ´incredible´ promotion|
|Neville calls on United to clarify position|
|Mourinho: Simeone is not better than me|
|Atletico focused on Chelsea, says Simeone|
|League Two Wrap: Scunthorpe on the brink, York in play-off box seat|
|Russian Premier League Wrap: Cherchesov´s Dinamo beaten, Zenit win fifth in a row|
|League One Wrap: Wolves crowned champions, Stevenage relegated|
|Ligue 1 Preview: Paris Saint-Germain v Evian|
|Championship Wrap: Burnley clinch promotion to Premier League|
|UEFA Champions League Preview: Real Madrid v Bayern Munich|
|KNVB promise to punish Ajax fans|
|Oscar happy at Chelsea despite PSG interest|
|Vermaelen in demand - agent|
|Garay unsure over Benfica future|
|Belgium must approach World Cup with humility, says Courtois|
|Villas-Boas dismisses Barca speculation|
|Sunderland trip our cup final, says Solskjaer|
|Berbatov eager to extend Monaco stay|
|Ronaldo returns to full training, Bale struggling with flu|
|Mills: City blame must be shared|
|Courtois relishing Chelsea encounter|
|Gray: Lambert is running out of time|
|Martino feels responsible for Barca struggles|
|Carroll still seeking full fitness - Allardyce|
|Keller eyes response to Stuttgart loss|
|Sherwood ´fearful´ of losing Eriksen|
|We were our own worst enemy - Rooney|
|Xavi: Barca still fighting|
|Injured duo a concern for Bruce|
|Rodgers enjoying Liverpool freedom|
|Carragher slams ´worst´ United performance|
|Harnik lauds Stuttgart display|
|Girard calls for focus|
|Colombia Primera A Wrap: Envigado seal top-eight place|
|CONCACAF Champions League Preview: Toluca v Cruz Azul|
|Liga del Futbol Profesional Boliviano Wrap: The Strongest eye top spot|
|Costa Rica Primera Division Wrap: Saprissa rout Belen Siglo XXI|
|Brazil Serie A Wrap: Fluminense, Sao Paulo win big|
|Liga MX Wrap: Top two beaten|
|Marseille reach agreement with Bielsa|
|Venezuela Primera Division Wrap: Three and easy for Zamora|
|Ranieri delighted with Monaco character|
|Martino relieved to beat Bilbao|