Hamburg slumped from third to 13th in the final table despite the 22 goals of the league's top scorer Sergej Barbarez, but still had a major role to play in the title race.
With Bayern conceding the game's first goal on the stroke of second-half added time it briefly appeared that the title was heading to Gelsenkirchen.
However, Hamburg goalkeeper Mathias Schober - on loan from Schalke, and only playing his third game for the club - handled a back pass and thus conceded a free kick.
Note: Flags indicate national team as defined under FIFA eligibility rules; some limited exceptions apply.
Note: Flags indicate national team as defined under FIFA eligibility rules; some limited exceptions apply.