Static Analysis → Hardcoded Creds → Google Dorks → ATO (and
An Android app contained plaintext credentials in its resources, which the researcher found by decompiling the APK. Those credentials worked on a partner login portal discovered via search engine dorks, giving access to sensitive personal data of users.
Hey folks 👋, back with another bug story. This one’s about some old-school static analysis mixed with a bit of Google-fu.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the developers embedded static credentials in the app's resource files instead of keeping them secret on a server.
Impact
The attacker could access sensitive personal information (names, emails, phone numbers, addresses) of users through the partner portal.
What the attacker needed
Android app APK available; Internet access for dorking; No account needed
The fix
The issue was fixed by the organisation, as the text states they patched it quickly.
How it was found
- Decompile the Android APK using apktool.
- Browse the decompiled files and find plaintext credentials in strings.xml.
- Use Google dorks to locate a login portal for the organisation.
- Try the extracted credentials on the portal and gain access.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An Android app is a package of files that can be unpacked and read. The developer had left a username and password written in plain text inside one of those files. The researcher found a login page on the internet and used those same credentials to get in, exposing other people's personal details.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.