How I was able to see any private album passwrod in Picturepush — IDOR
A private album's access-rights page used the album identifier taken straight from the URL, so changing that number showed the password of another user's protected album. An attacker could read the password protecting any private album and then view its contents.
Published on medium.com
#### Murtada Kamil
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 access-rights page looked up the album using the identifier supplied in the URL and returned its password without checking that the requester owned that album.
Impact
An attacker could read the password of any private album, giving access to photos the owner intended to keep protected.
What the attacker needed
A free account; knowing a victim album identifier
The fix
The bug was fixed the day after it was reported.
How it was found
- Create an account and log in.
- Create an album and protect it with a password.
- Open your private album.
- Open the album options and go to Access Rights.
- Note the album identifier in the resulting address.
- Replace that identifier with a victim's album identifier to see their password.
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 open a page, the site often puts an identifier in the web address to say which item to show. Here the site trusted that number without checking whether the album belonged to you, so swapping it for someone else's number displayed their secret album password. This kind of mistake is called an insecure direct object reference, meaning the site lets you reach another person's data just by changing an identifier.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.