U.S. stocks rose sharply, ending a two-session losing streak, though trading volumes remain subdued in the final days of the year.