Only an unthinkable seven-goal defeat would have prevented the Reds from progressing to the knockout stages but the team were nevertheless determined to end the group stage on a high with a fifth victory from six games.
And that was achieved despite the concession of a shock opener on the stroke of half-time, when Alan Dzagoev unwittingly diverted Vitinho’s shot beyond Sergio Romero.
Jose Mourinho’s men had dominated proceedings until that point, with Marcus Rashford hitting the post early on and Igor Akinfeev making a double save from Luke Shaw and Romelu Lukaku.
The pattern continued after the break and United finally made the breakthrough when Lukaku showed great strength to get on the end of a Paul Pogba cross and volley home.
Just over a minute later, the turnaround was complete as Rashford applied a fine left-footed finish to Juan Mata’s neat knock over the top. Job done and the Reds can now look forward to Sunday's Manchester derby, as well as Monday's last-16 draw.