
CVE-2015-2231 POC
CVE-2015-2231 Machbarkeitsnachweis
Der POC, mit dem ich CVE-2015-2231 'Get Super Serial' demonstriert habe. Einige Leute haben mich gebeten, ihn zu veröffentlichen, damit sie ähnliche Dinge auf anderen ADUPS-Firmware-basierten Geräten verwenden können, die diese Schwachstelle aufweisen. Ich räume meinen Laptop auf und veröffentliche dies, bevor es verloren geht.
Diese Anwendung erstellt lediglich einen klickbaren Button, der sh /data/local/tmp/yay/shell.sh als system ausführt. Im Verzeichnis "scripts-for-device" befinden sich die tatsächlich von mir verwendeten Skripte, jedoch sind nicht alle Binärdateien verfügbar. Sie können diese von der supersu-Website herunterladen. Sie müssen außerdem ein weltweit les- und schreibbares Verzeichnis /data/local/tmp/yay/ erstellen und die notwendigen Dateien dort ablegen.
Dies ist lediglich ein Machbarkeitsnachweis und enthält hartcodierte Werte, die höchstwahrscheinlich nur für ein ganz bestimmtes Blu-Telefon funktionieren, das ich getestet habe. Versuchen Sie nicht, dies auf einem Gerät auszuführen, ohne zu verstehen, was passiert, und es für Ihre Zwecke anzupassen. Andernfalls werden Sie Ihr Gerät höchstwahrscheinlich zerstören.
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.