The homers erased a 2-1 deficit and made a winner of Joe Kenendy (7-8), who surrendered two runs -- one earned -- and seven hits in seven innings with two walks and three strikeouts.
Kennedy also got some help from right fielder Jason Conti, who threw out slow-footed Frank Thomas at the plate trying to score on a base hit for the second straight game.
After grabbing the lead in the sixth, the Devil Rays broke open the contest with six runs in the seventh off three pitchers. Buehrle left after surrendering an RBI double to Huff.
Rocky Biddle yielded a run-scoring single to Sandberg before Andy Sheets' bunt single produced another run. Conti followed with a two-run double that chassed Biddle and gave the Devil Rays an 8-2.
Rookie Carl Crawford capped the uprising with an RBI single off Kelly Wunsch.
Buehrle (14-8), who was looking to become the third 15-game winner in the American League, surrendered five runs and a career-high 11 hits over 6 1/3 innings.
The White Sox had taken a 2-1 lead on rookie Joe Crede's RBI in the top of the sixth, but they missed a chance to add to their lead when Thomas was thrown out on Royce Clayton's single to right-center field.
Tampa Bay's Steve Kent gave up a run in the ninth.
2014: The Year in Music [PHOTOS]