ExxonMobil said on Thursday its quarterly profit jumped 28 percent on higher prices for crude and natural gas.