Confinement and Interaction Effects on the Diffusion of Passive Particles