Ademilson scored his fourth goal of the tournament to give Brazil the lead on 16 minutes, and Leo added a second three minutes from the end to guarantee the win.
The young Seleção stars will now face Japan, who thrashed New Zealand 6-0 to qualify, in the next stage on Sunday.
Should Brazil overcome the Japanese, they will face either Uruguay or Uzbekistan in the semi-finals of the tournament in Mexico.