Fears over iPhone app security glitch
When selling or giving away your old iPhone, you could be granting the person who buys it access to your personal data, even after you’ve wiped it.
Certain applications use your phone’s unique ID (known as a UDID) to identify you and sign you in to their service.
Read more: Fears over iPhone app security glitch
Story added 4. July 2012, content source with full text you can find at link above.