Dunga’s Copa holders were far from convincing in their final Group B match against Ecuador, but registered a narrow 1-0 win through Robinho’s penalty.
Anderson was an unused substitute as Brazil stuttered to victory through a controversial spot-kick won and converted by the Real Madrid forward, who is now the tournament’s top scorer with four goals.
Brazil will face Chile in the quarter-finals, who finished third in Group B but still qualify as one of the best-placed runners-up.
The two sides met in their second group match, with Brazil registering a 3-0 triumph. Hosts Venezuela or Uruguay await the winners in the semi-final stage.