You should think twice or even thrice or even more before using someone else's charger next time your iPhone running out of battery.
Three security researchers , Billy Lau, Yeongjin Jang and Chengyu Song from the Georgia Institute of Technology found a way to hack your iPhone with a malicious charger.
The team will demonstrate the proof-of-concept of the hack at upcoming BlackHat hacker conference in late July.
Researchers claim they can compromise any iOS device within one minute of being plugged to the malicious charger.
The hack attack apparently does not require any user interaction and it works against even devices that are not jailbroken.
Reference:
http://www.blackhat.com/us-13/briefings.html#Lau