Influence of temporal fluctuations and spatial heterogeneity on pollution transport in porous media