Unveiling the Unseen: A Journey from Simple Recon Using Shodan to
The origin server was publicly accessible without IP whitelisting, and two endpoints exposed admin emails and app details without authentication. A decompiled APK contained hardcoded AWS credentials, allowing the researcher to list S3 buckets and delete a test file.
Published on medium.com
● Found an exposed IP via Shodan and identified open ports using Naabu, leading to further investigation.
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 origin server lacked firewall restrictions and IP whitelisting, the endpoints had no authentication, and AWS keys were hardcoded in the APK.
Impact
An attacker could access sensitive admin emails, internal app details, and the company's AWS S3 buckets, potentially leading to data breaches or service disruption.
What the attacker needed
Publicly accessible origin server; No authentication on endpoints; APK with hardcoded AWS keys
The fix
The report recommends restricting origin server access with IP whitelisting, adding authentication to sensitive endpoints, and avoiding hardcoded AWS keys by using IAM roles and secure storage.
How it was found
- Used Shodan to find an IP address associated with the target domain.
- Ran a port scan with Naabu and found ports 80, 443, and 8090 open.
- Brute-forced directories on port 8090 with ffuf and found /users and /apps.
- Visited the /users endpoint and saw admin emails without authentication.
- Visited the /apps endpoint and found app versions and APK download links.
- Downloaded and decompiled the APK, found hardcoded AWS keys, and used AWS CLI to list S3 buckets.
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.
The company's main server could be reached directly from the internet, bypassing its protective front door. Two web pages on that server showed private information to anyone without asking for a password. Also, an Android app contained secret cloud keys, which let the researcher access the company's cloud storage.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.