
CVE-2015-2231 Prueba de concepto
CVE-2015-2231 Prueba de Concepto
La POC que estaba usando para demostrar CVE-2015-2231 'Get Super Serial'. Algunas personas me pidieron que la publicara para que pudieran usar cosas similares en otros dispositivos basados en firmware ADUPS que tienen esta vulnerabilidad. Limpiando el portátil y publicando esto antes de que se pierda.
Esta aplicación solo crea un botón que se puede hacer clic, el cual ejecutaría sh /data/local/tmp/yay/shell.sh como system. En el directorio "scripts-for-device" se encuentran los scripts reales que usé, sin embargo no todos los binarios están disponibles. Puede obtenerlos del sitio web de supersu. También debe crear un directorio de lectura/escritura mundial de /data/local/tmp/yay/ y colocar los archivos necesarios allí.
Esto es meramente una prueba de concepto y tiene valores codificados que probablemente solo funcionen para un teléfono Blu muy específico en el que estaba probando. No intente ejecutar esto en un dispositivo sin entender lo que está sucediendo y modificarlo para sus propósitos. De lo contrario, probablemente dejará inutilizable su 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.