(CNN) -- Lewis Hamilton surrendered his Formula One drivers' championship lead to Mark Webber after failing to finish at the Hungarian Grand Prix.

The Australian's victory meant Red Bull also moved to the top of the team standings above McLaren, whose world champion Jenson Button finished eighth after starting 14th on the grid.

Webber moved 14 points clear of Hamilton, while teammate Sebastian Vettel moved up to third as he salvaged a podium place behind Fernando Alonso after a 25-second drive-through penalty ended the German polesitter's hopes of victory.

The top-five drivers are within 20 points of Webber with seven races left, with Fernando Alonso remaining fifth despite his second placing for Ferrari.