AppleKeyStore in Apple iOS prior to 9 allows physically proximate malicious users to reset the count of incorrect passcode attempts via a device backup.
apple iphone os