Buying a used smartphone can be a cost-effective way to upgrade your device, but it also comes with a set of hidden dangers.