_____ _ _ _____
| _|(_) | | / ___|
| |_ _ _ __ ___| |__ __ _ ___ ___\ `--. ___ __ _ _ ___
| _|| | '__/ _ \ '_ \ / _` / __|/ _ \`--. \/ __/ _` | '_ \
| | | | | | __/ |_) | (_| \__ \ __/\__/ / (_| (_| | | | |
\_| |_|_| \___|_.__/ \__,_|___/\___\____/ \___\__,_|_| |_|
by: IAMABEAR of SunCSR team
FirebaseScan is a pen-testing tool to automatically scanning and exploiting Firebase DB vulnerability in the android application.
FirebaseScan is also bundled with apktool.
- Python 3
- tqdm
- requests
- JDK 8 or higher
- Decode apk file
- Find Firebase Database URL
- Scan for configuration error on reading and writing permission
- Dump database
- Export payload
python3 -m pip install -r requirements.txt
Put apk file in the directory of firebase-scan.
┌──(iamabear㉿kali)-[~/Downloads]
└─$ mv ./example.apk ./firebase-scan
┌──(iamabear㉿kali)-[~/Downloads/firebase-scan]
└─$ ls
README.md apktool_2.5.0.jar example.apk firebase-scan.py requirements.txt
┌──(iamabear㉿kali)-[~/Downloads/firebase-scan]
└─$ python3 firebase-scan.py example.apk