How I Hacked Invision Projects
A password-protected shared project stored the plaintext password in a cookie named VALIDATION_<projectID>, which was readable by anyone with the share link. An attacker with the link could extract the password from the cookie and access the project without knowing it.
Published on addictivehackers.blogspot.com
authentication
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 stored the plaintext share password in a client-side cookie instead of validating it server-side.
Impact
Anyone who obtained a password-protected share link could read the password from a cookie and access the shared project without being given the password.
What the attacker needed
A password-protected share link; a browser with a cookie viewer
How it was found
- Open the password-protected share link in a browser.
- Export the cookies of the page using a cookie manager extension.
- Find the cookie whose name starts with VALIDATION_ followed by the project ID.
- Read the password from that cookie's value.
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 share a design project with a password, the website should keep that password secret. Here, the site put the password itself into a cookie (a small piece of data your browser stores for a site) that anyone with the share link could read. So the password protection was useless: the password was handed to every visitor.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.