Stack-based buffer overflow in the encode_key function in /system/bin/keystore in the KeyStore service in Android 4.3 allows attackers to execute arbitrary code, and consequently obtain sensitive key information or bypass intended restrictions on cryptographic operations, via a long key name.
- http://packetstormsecurity.com/files/127185/Android-KeyStore-Stack-Buffer-Overflow.html
- http://securityintelligence.com/android-keystore-stack-buffer-overflow-to-keep-things-simple-buffers-are-always-larger-than-needed/
- http://www.slideshare.net/ibmsecurity/android-keystorestackbufferoverflow
- https://github.com/ksparakis/apekit
- https://github.com/shellcong/seccomp_keystore