
CVE-2015-2231 POC
CVE-2015-2231 Prova di Concetto
La POC che stavo usando per dimostrare CVE-2015-2231 'Get Super Serial'. Alcune persone mi hanno chiesto di pubblicarla in modo che potessero usare cose simili su altri dispositivi basati su firmware ADUPS che presentano questa vulnerabilità. Sto riordinando il portatile e la pubblico prima che vada persa.
Questa applicazione crea solo un pulsante cliccabile, che esegue sh /data/local/tmp/yay/shell.sh come system. Nella directory "scripts-for-device" si trovano gli script effettivi che ho usato, ma non tutti i binari sono disponibili. Puoi ottenerli dal sito di supersu. Devi anche creare una directory leggibile/scrivibile da tutti /data/local/tmp/yay/ e inserire i file necessari al suo interno.
Questa è solo una prova di concetto e contiene valori hardcoded che molto probabilmente funzioneranno solo per un telefono Blu molto specifico su cui stavo testando. Non tentare di eseguirlo su un dispositivo senza capire cosa sta succedendo e modificarlo per i tuoi scopi. Altrimenti, probabilmente brickerai il tuo dispositivo.
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.