
CVE-2015-2231 POC
CVE-2015-2231 Preuve de concept
Le POC que j'utilisais pour démontrer CVE-2015-2231 'Get Super Serial'. Plusieurs personnes m'ont demandé de le poster pour pouvoir l'utiliser sur d'autres appareils basés sur le firmware ADUPS présentant cette vulnérabilité. Je nettoie mon ordinateur portable et je publie ceci avant qu'il ne soit perdu.
Cette application crée uniquement un bouton cliquable qui exécute sh /data/local/tmp/yay/shell.sh en tant que system. Dans le répertoire "scripts-for-device" se trouvent les scripts que j'ai réellement utilisés, mais tous les binaires ne sont pas disponibles. Vous pouvez les obtenir sur le site web de supersu. Vous devez également créer un répertoire /data/local/tmp/yay/ lisible/inscriptible par tous et y placer les fichiers nécessaires.
Ceci n'est qu'une preuve de concept et contient des valeurs codées en dur qui ne fonctionneront probablement que pour un téléphone Blu très spécifique sur lequel je testais. N'essayez pas d'exécuter ceci sur un appareil sans comprendre ce qui se passe et sans l'adapter à vos besoins. Sinon, vous risquez fortement de briquer votre appareil.
The MIT License (MIT)
Copyright (c) 2015 Red Naga
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.