Bug Bounty Journey — Valid Report 1
A publicly accessible backup archive on one server contained source code, configuration files, and SSH/FTP credentials. An attacker could download it and use the credentials to access the server.
medium.com
Published on medium.com
In this journey, I will share my experience with a valid report I submitted. This will be a series until I discover new vulnerabilities. 😊 Let’s begin!
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 a backup archive was left in a publicly accessible directory without access controls.
Impact
An attacker could obtain source code, configuration files, and SSH/FTP credentials, potentially leading to server access.
What the attacker needed
Publicly accessible backup file; no authentication required
The fix
The backup archive should be removed from the public web directory or protected with authentication.
How it was found
- Find the favicon hash of the main application and search for it on Shodan to find other IPs running the same app.
- Run directory fuzzing on the discovered IP addresses.
- Download the backup.zip file found during fuzzing.
- Analyse the archive and find source code, configuration files, and credentials.
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.
A backup file is a copy of a website's files, often left on the server by mistake. Here, a file called backup.zip was publicly downloadable and held sensitive information like passwords. Anyone who found it could use those passwords to log in to the server.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.