Open Redirect in www.shopify.dev Environment
Medium
S
Shopify
Submitted None
Actions:
Reported by
beerboy_ankit
Vulnerability Details
Technical details and impact analysis
## Summary
Reported vulnerability allows attacker for open/unknown redirect for victim user
## Steps to reproduce
1) Go to https://shopify.dev/concepts/shopify-introduction
2) Click on search
3) Type ``` POC ``` in search box and hit enter
4) Right click on first result displayed as ```POS``` and click on copy link address which will look like below.
```
https://shopify.dev/search/result?query=poc&rank=1&result_gid=ae6c33f6-62d4-4ff2-966e-96c09267ee87&result_url=%2Ftools%2Fapp-bridge%2Factions%2Fpos&search_uuid=34eeea9d-2b99-4f86-bf00-807efd4036ba&suggested=false
```
5) Modify ```result_url``` parameter in link shown above to ```[email protected]```
6) Final link will look like this
```
https://shopify.dev/search/result?query=poc&rank=1&result_gid=ae6c33f6-62d4-4ff2-966e-96c09267ee87&[email protected]&search_uuid=34eeea9d-2b99-4f86-bf00-807efd4036ba&suggested=false
```
7) alternatively You can also directly access below link for your convenience
https://shopify.dev/search/result?query=poc&rank=1&result_gid=ae6c33f6-62d4-4ff2-966e-96c09267ee87&[email protected]&search_uuid=34eeea9d-2b99-4f86-bf00-807efd4036ba&suggested=false
Culprit for redirect is ``` @ ``` character which will bypass the logic implemented to redirect user to access resource on www.shopify.dev itself and follow url after ``` @ ```
Note: I am submitting this report as this bypass technique can be use to any other domain on Shopify if same logic is implemented and could leads attacker for wider attack scope.
Thanks you!
## Impact
Invalidated Redirect
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Submitted
Weakness
Open Redirect