Commanded his penalty area with consummate ease over the course of the game and could do nothing about Lasogga's late strike.
With Alaba rested ahead of Bayern's imminent Club World Cup commitments, the Argentine had a chance to stake his claim for more playing time – but he squandered it with some shoddy passing.
Often one of Bayern's unsung heroes, the Brazilian full back put in a fine performance down the right, which included an assist for Mandzukic's opening goal.
D. Van Buyten
The former Hamburg center back had little to do, but looked competent when called into action, be it in the air or on the ground.
The Brazilian seemed to have recovered from his horror show against Manchester City as he looked calm and composed at the back for the hosts.
The Bayern captain put in a solid display in front of the back four after being moved back into midfield following the City defeat.
Bayern's summer signing doubled its lead with a sumptuous effort early in the second half before being replaced by Ribery.
Guardiola's disciple continued his great form this season with another measured performance in midfield, which included a tidy assist for Gotze's marvelous goal after the break.
Dominant in central midfield yet again, he played a key role in Mandzukic's opener by picking Rafinha out with a super pass.
Used his face to put Bayern ahead shortly before the break, which just about made amends for a glaring miss minutes beforehand.
Despite scoring six in his last seven games the Germany international was quiet and drifted in and out of the game before being subbed off late.
Making his first appearance of the season in place of the injured Adler, the Czech shot-stopper looked rusty, particularly when beaten by Shaqiri at his near post late on.
The former Arsenal defender lapped up the high balls that Bayern threw into the Hamburg box, but struggled slightly when the hosts moved the ball quickly on the ground.
The center back was beaten to Rafinha's cross when Mandzukic put Bayern ahead and should perhaps have stopped Shaqiri when he raced through to make it 3-1.
Playing against his former side the Germany international put in a solid display and did well to set Lasogga up for his goal late on.
R. van der Vaart
After three games out the experienced attacker returned to Hamburg's starting lineup, but had no real impact on the game despite taking most of his side's set pieces.
Picked up an injury in an altercation with Contento in the second half which limited his impact in the closing stages, and made coping with the introduction of Ribery that little bit harder.
Fluffed his lines in front of goal midway through the first half when he dragged a shot miles wide, but otherwise he was neat and tidy in midfield.
Despite giving the ball away cheaply on a couple of occasions early on the Turkish midfielder shrugged off that shaky start to put in a decent all-round performance.
Fired a decently-positioned free kick over in the second half before being withdrawn by van Marwijk.
Threw himself about upfront for the visitors and got a deserved goal when he thumped the ball past Neuer late in the game.
Produced some lung-bursting runs down the right-hand side for van Marwijk's men, but was let down all too often by his final product.