Drain pipe leaking in crawlspace

This is a drain from a tiled shower floor. The connection was loose and left water on the vapor barrier in the crawlspace. With it being a sloppy job on the tile floor, I was already concerned about the floor leaking into the subfloor. Which is why I ran the water for 30 minutes.