Finding an easy bug in the profile picture field.
A profile picture remained accessible at its direct URL after the user removed it from their profile. An attacker who obtained that URL could still view the image, potentially exposing sensitive information it contained.
medium.com
Published on medium.com
loyalonlytoday love to share my knowledge to communitybuymeacoffee.com
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 application removed the profile picture reference but did not delete or restrict access to the stored image file.
Impact
If the removed image contained sensitive information such as passwords, card details or contact data, anyone with the old link could still retrieve it.
What the attacker needed
A user account with a profile picture; the direct image URL is known
How it was found
- Go to the profile section and upload a picture as the profile photo.
- Open the profile image in a new tab to obtain its direct link.
- Remove the picture as the profile photo.
- Refresh the direct link and observe that the image is still accessible.
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.
When you upload a profile picture, the site stores it at a web address. Removing the picture from your profile should also stop that address from working. Here it did not, so anyone with the old link could still open the image.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.