Rear window leak?

Noticed this water discoloration in the back seat area today. How can I tell if it's coming from the rear window seal or from the third brake light area? Also, best way to clean the headliner?

Thanks for any info.