Judge.me · Report #1609955
Improper Access Control in Ali Express Importer
How it was found
Summary:
Good day team,
I found another improper access control flaw in Ali Express Review Importer that can be used to view all and any existing reviews in Judge.Me app. This is similar to my other reports #1450807 and #1382652. Basically the same bug with #1450807 just on a different app and endpoint :)
Steps To Reproduce:
-
Login as an admin to your test Shopify instance
-
Install the apps 'Judge.me Product Reviews' and 'Ali Express Review Importer' (both owned by Judge.me)
-
Add a new review to your Judge.Me app. 'Reviews' -> 'Write a Review'
-
Add/Edit a Shopify staff member and give access only to 'Ali Express Review Importer' app
-
Login to the staff account with only 'Ali Express Review Importer'
-
Go to apps and open the 'Ali Express Review Importer' to establish/start Judge.me session
-
Visit this url to attempt to view reviews from Judge.Me App:
https://judge.me/index.json?shopdomain={yourshop}.myshopify.com&page=1&2. per_page=25&offset=0. Capture the request for this using any proxy intercepting tool like Burp Suite -
Since you don't have a valid session for the Judge.Me app you will be prompted to login as a shop owner
-
Now in the 'Ali Express Review Importer app, click 'Reviews' -> and then click the refresh icon on the left side of the search bar. Capture the request for this one too since we'd need the cookie in the request. {F1785201}
-
Replace the cookie in the request from step 7 to the recently acquired cookie in step 9
-
Send the edited request, the request from step 6 with the new cookie, and you should now be able to view any reviews including hidden/archived ones from Judge.Me App without having access to the Judge.Me app itself
Note: Steps 1-4 are done by Admin Steps 5-11 are done by user with only Ali Express Importer access
Supporting Material/References:
{F1785202}
If you have any questions on this or if there's anything I can help with please let me know.
Have a nice day!
-PenguinsHelp
Impact
Staff with no access to 'Judge.me App' can view reviews which they supposedly doesn't have access to