Ability to Download Music Tracks Without Paying (Missing permission check on`/musicstore/download`)
The download endpoint for free music tracks did not check whether the requested track was actually free or had been paid for. An attacker could take the track identifier from a paid track's add-to-cart request and use it on the free download endpoint to obtain the track without paying.
- Triaged in 13 days
- Fixed in 15 days
- Paid in 15 days
- Disclosed after 46 days
Hello,
I'm not sure how serious this is to be honest. If you're downloading tracks without paying, then I'm sure you could find a copy somewhere on the internet anyway. But I guess it's still an issue.
When browsing the Music Store (https://vimeo.com/musicstore), some tracks are free. To download these, a GET request is sent to /musicstore/download, with a query string of track_id=[track_id]&license_id=4.
For non-free tracks, the link is replaced with an Add to Cart icon, and you're expected to go through the checkout procedure. This is done by a POST request to /cart/musicwith a body of action=add&license_id=2&license_name=Personal&price=1.99&track_id=110947&track_title=Remind%2BMe&uid=110947_2&&&token=[token].
Copying the track_id from the Add to Cart request and transplanting it into the /musicstore/download successfully redirects you to Amazon S3 to download the track, despite you not having paid for it.
Note: I submitted the GET request to /musicstore/download, but didn't follow the 302 redirect to S3 to download the track since I didn't pay for it. Because of this I can't 100% verify that the resulting file is the track, but judging by the URL it looks like it is.
Proof-of-Concept
Accounts Needed
- User #1 - Standard Vimeo user
Steps
- Login, and browse to https://vimeo.com/musicstore
- Find a non-free track, and click the Add to Cart icon
- Inside the
POSTrequest to/cart/musiccopy thetrack_id - Browse to the following URL, replacing
[track_id]with the one from step 3. You should be redirected to S3 to download the track (without paying):https://vimeo.com/musicstore/download?track_id=[track_id]&license_id=4
If you need anymore info just shout, Cheers, Jack
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
Impact
An attacker could download paid music tracks without paying; the reporter did not follow the redirect to confirm the file, so the exact content is not fully verified.
What the attacker needed
A standard user account
How it was found
- Log in and browse to the music store.
- Find a non-free track and click the Add to Cart icon.
- Copy the track identifier from the add-to-cart request.
- Request the download endpoint with that identifier and the free licence parameter.
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.
Some music tracks on the site are free to download, while others must be bought. The download link for free tracks did not check whether the track being requested was really free. By swapping in the identifier of a paid track, someone could get the paid track without buying it.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.