Download full backup [Mtn.co.rw]
A backup archive of the website was publicly downloadable, and extracting it revealed the full site backup. An attacker could obtain source code and database credentials to compromise the resource.
Originally disclosed on HackerOne
- Fixed in 26 days
- Disclosed after 56 days
Summary:
I discovered few critical vulnerabilities here, one of them is exposed backup files via directory listing.
Steps To Reproduce:
go to https://mtn.co.rw/mtn.zip and download the file extract the file and open you will see the full backup of the website
Similar report:
https://hackerone.com/reports/684838
Impact
Source code & DB credentials leakage. Attacker can use it to compromise the resource.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a backup archive was left in the public web root without access controls.
Impact
Source code and database credentials could be leaked, which an attacker could use to compromise the resource.
What the attacker needed
None
How it was found
- Go to the backup file URL.
- Download the archive.
- Extract the archive and open it.
- Observe the full website backup.
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 report has not been written yet. The Original tab links to the source.
A backup file is a copy of a website's files and database. Here that copy was publicly downloadable at a known address. It contained source code and database login details, which could let someone take over the site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.