The ads you're viewing in popular apps have been co-opted by companies harvesting your location data — and now hackers have it.