Overwriting Banner Images on Etsy
The AJAX endpoint for uploading shop banner images did not verify that the uploader owned the shop, so an attacker could replace the banner image on any Etsy shop. This could damage a business's reputation or trick customers into sending payments to an attacker-controlled email address.
Published on whitton.io
When you create a shop on Etsy, you can upload an image to be used as a banner.
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
The AJAX upload endpoint lacked an ownership check that the regular form enforced.
What the attacker needed
An Etsy account; knowledge of the AJAX endpoint
The fix
Etsy fixed this by adding an ownership check on upload.
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 run a shop on Etsy, you can upload a picture that appears at the top of your shop page. The normal upload form checked that you were the shop owner, but a different upload method used by the website's background code did not. That meant anyone could change the banner picture on someone else's shop.
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.