The world's most expensive player opened the scoring six minutes into the second half after excellent approach play by Willian, the Paris Saint-Germain forward's sixth goal in World Cup history.
Substitute Firmino wrapped up the win with a simple last-minute finish as Tite's side advanced to their seventh straight World Cup quarter-final, where they will face either Japan or Belgium in Kazan on Friday night.