Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2014-3100

Description

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.

POC

Reference

- 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

Github

- https://github.com/ksparakis/apekit

- https://github.com/shellcong/seccomp_keystore