DIVA - Insecure Data Storage - Part 4


Now let’s go onto our last challenge of insecure data storage
6-1
When you are trying to save the credential you may face this issue, that file error occurred, this is because the application don’t have permission to create file in sdcard, so we can just open app info
6-2
Click on permissions
6-3
And enable the storage permission
Come back to the app, and you could be able to save the credential now.
Before we solve just quickly have a look at the source code first
6-4
When you analyze the code, you will see the application is storing the credential inside sdcard with a hidden file of .uinfo.txt
6-5
Now let’s back to our adb shell
6-6
In /sdcard folder we can see .uinfo.txt as mention in the sourcecode
6-7
And here is our credential in clear text.

~ tavşanı sever

Twitter / Hack The Box / CTF Team / Teck_N00bs Community Telegram

Comments