Broken session control leads to access private videos using the shared link even after revoking the access for specific time!! — #GoogleVRP
A private video's access token remained valid for about eight hours after the owner revoked a viewer's access, so a viewer who had saved the video response could keep watching it. The attacker could replay the saved response to view and screen-record the video until the token expired.
A lot of people might know how to share the private video and can access that video but here the interesting thing is now this vulnerability can be used to see private video after revoking the access.
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 token issued for the video was not invalidated when the owner revoked the viewer's permission, so it stayed valid until its normal expiry.
Impact
A viewer whose access was revoked could continue to view and screen-record the private video for up to about eight hours, until the saved response expired.
What the attacker needed
Owner shares private video with viewer; viewer saves the video response; owner later revokes access
How it was found
- Upload a private video and share access with a specific person by email.
- As the viewer, capture the response that loads the video.
- The owner removes the viewer's email to revoke access.
- The viewer tries to view the video and sees an error.
- The viewer injects the saved response through a proxy and can still view and record the video.
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 private video, the service gives your browser a temporary pass (a token) that lets it load the video. The problem is that removing someone's access does not cancel that pass straight away, so they can keep using the saved pass for several hours. This means revoking access does not immediately stop someone who has already loaded the video.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.