Research shows that more than 40,000 security cameras across the globe are exposed to the internet.