Skip to content
Access control Disclosed report Beginner

An administrator without the 'Settings' permission is able to see payment gateways

An administrator without the 'Settings' permission could still access the payment gateways JSON endpoint, which disclosed payment gateway information. This allowed an unprivileged admin to view data they should not have been able to see.

brakhane Follow

Originally disclosed on HackerOne

Bounty$500 View original
  • Triaged in 11 days
  • Fixed in 13 days
  • Paid in 19 days
  • Disclosed after 19 days

Description

An administrator who lacks the 'Settings' permission is not able to see the shops payment gateways through the UI. But the endpoint shop.myshopify.com/admin/payment_gateways.json does disclose payment gateways to the unprivileged user.

Mitigation

Restrict the endpoint in question to be only accessible with the correct permission set.

The original report as published on HackerOne, by brakhane. 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 endpoint lacked a permission check, so it returned data to any authenticated admin regardless of their permissions.

Impact

An administrator without the 'Settings' permission could view payment gateway information via the endpoint.

What the attacker needed

An admin account without 'Settings' permission

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.

In many systems, different users have different permissions. Here, an admin without the 'Settings' permission should not see payment gateway details, but the system still let them access a hidden web address that returned that information. This is a permission check missing on a specific endpoint.

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 brakhane

View all

12 more disclosed reports, best first.

More from Shopify

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.