Skip to content
Access control Disclosed report Intermediate

Improper Access Control in Ali Express Importer

A staff member restricted to the Ali Express Review Importer app could reuse a session cookie from that app to query the Judge.me reviews endpoint and read reviews, including hidden or archived ones, without having access to Judge.me. The flaw is an access control gap between two apps owned by the same vendor.

penguinshelp Follow

Originally disclosed on HackerOne

Medium 5.0 View original
  • Triaged in 4 months
  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 7 months

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:

  1. Login as an admin to your test Shopify instance

  2. Install the apps 'Judge.me Product Reviews' and 'Ali Express Review Importer' (both owned by Judge.me)

  3. Add a new review to your Judge.Me app. 'Reviews' -> 'Write a Review'

  4. Add/Edit a Shopify staff member and give access only to 'Ali Express Review Importer' app

  5. Login to the staff account with only 'Ali Express Review Importer'

  6. Go to apps and open the 'Ali Express Review Importer' to establish/start Judge.me session

  7. 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

  1. Since you don't have a valid session for the Judge.Me app you will be prompted to login as a shop owner

  2. 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.

Capture.PNG
Capture.PNG From the original on HackerOne
  1. Replace the cookie in the request from step 7 to the recently acquired cookie in step 9

  2. 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:

Judge.Me_Improper_Access_Control_-_Ali_Express_Importer.mp4 From the original on HackerOne

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

The original report as published on HackerOne, by penguinshelp. 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 reviews endpoint trusted a session cookie issued for a sibling app rather than checking that the caller actually had access to Judge.me.

Impact

A staff member with no Judge.me access could view reviews, including hidden or archived ones, that they should not be able to see.

What the attacker needed

Admin installs both apps; a staff account limited to the importer app; proxy to capture and edit requests

How it was found

  1. Log in as an admin and install both the Judge.me Product Reviews and Ali Express Review Importer apps.
  2. Add a review in Judge.me, then create a staff member with access only to the Ali Express Review Importer app.
  3. Log in as that staff member and open the importer app to start a Judge.me session.
  4. Request the Judge.me reviews endpoint and capture it in a proxy; it prompts for a shop owner login.
  5. In the importer app, refresh the reviews list and capture that request to obtain its cookie.
  6. Swap the cookie into the reviews request and resend it to read reviews, including hidden and archived ones.

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.

Two apps from the same company share a login session. A staff member who is only allowed to use one app could take that session and use it to ask the other app for data, and the other app answered instead of refusing. That let them read reviews they were never given permission to see.

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 penguinshelp

View all

2 more disclosed reports, best first.

More from Judge.me

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.