Shopify Partners Invitation Process Allows Privilege Escalation Without Email Verification
Shopify Partners invitations could be accepted without verifying that the recipient owned the invited email address. An attacker who knew or could see an invited owner's email could register an account with it and accept the invitation, gaining owner-level access to the partner account.
- Triaged in 11 days
- Fixed in 4 months
- Paid in 14 days
- Disclosed after 5 months
Summary by the program
A vulnerability was discovered in Shopify's Partner invitation process that allows unauthorized access to accounts without email verification. The report demonstrates how a staff member could view invited owners' email addresses, create accounts with those credentials, and gain elevated privileges by accepting invitations—effectively leading to unauthorized access and modification of sensitive data.
The report
Summary
A recent change in Shopify’s invitation process for joining Shopify Partners has introduced a vulnerability that allows unauthorized users to gain access to accounts and escalate their privileges without email verification. This report provides a detailed walkthrough of the vulnerability, exploitation method, and potential impact.
Vulnerability Details
Issue:
-
Invitations to join Shopify Partners no longer require Invitation email link verification.
-
An attacker can exploit this by creating an account using email addresses of employees at a target organization. Once an invitation is sent to one of these email addresses, the attacker can accept the invitation and gain unauthorized access to the Shopify Partners account.
Steps to Reproduce
Note:
==The following steps simulate a scenario where a low-privilege member discovers an invited owner and uses that email address to escalate privileges. This approach simplifies the reproduction steps instead of demonstrating the creation of multiple accounts with different employee emails and waiting for invitations.==
Reproduction Steps:
-
Have a Shopify Partners Account:
- Make sure to have a Shopify Partners account.
-
Invite Members and Owners:
- Add a new member (attacker-controlled account) to the Shopify Partners account.
- Add a new owner (victim's email) to the account.
-
Harvest the Invited Owner’s Email:
- As a member, view the email list of invited owners.
-
Create a New Account Using the Victim’s Email:
- Create a new Shopify account using the victim’s email address (no email verification required).
-
Accept the Invitation Using the New Account:
- Log into the new attacker-controlled account using the victim’s email.
- Accept the invitation to join the Shopify Partners account, thereby escalating privileges to Owner.
Suggested Mitigation
To resolve this issue, the following measures are recommended:
- Reintroduce email verification for the invitation process to ensure that only the legitimate user can accept invitations.
- Implement multi-factor authentication (MFA) on invitations to enhance security and prevent unauthorized access.
- Ensure that invitations and access rights are validated with more robust security protocols.
Additional Information: A Proof of Concept (PoC) video is attached to demonstrate the exploit and the steps taken to successfully escalate privileges using the method described above.
████
Conclusion
The vulnerability allows unauthorized users to gain access to sensitive Shopify Partners accounts and escalate their privileges without proper verification. Immediate attention is recommended to patch this issue and enhance the security of the platform.
Please refer to the attached video for a visual demonstration of the exploit.
Impact
Impact Analysis
Internal Escalation by Low-Privilege Member:
- A low-privilege member can escalate their role by exploiting this vulnerability to accept an invitation sent to a victim's email, gaining unauthorized access to Owner privileges.
External Attack by Unaffiliated Attacker:
- An external attacker can gather email addresses of employees and create accounts using those emails. The attacker can then monitor for invitations and exploit them to gain unauthorized access to the Shopify Partners account.
Security Impact
This vulnerability enables unauthorized access to Shopify Partners accounts and facilitates privilege escalation without proper verification. This is especially concerning as attackers can leverage publicly available email addresses to target potential victims, leading to unauthorized access and modification of sensitive data.
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
Impact
A low-privilege member could escalate to owner, and an outside attacker who knows an invited employee's email could gain owner access to the partner account and modify sensitive data.
What the attacker needed
A Shopify Partners account; ability to invite members or owners; knowledge of the victim's email address
The fix
Email verification should be reintroduced for invitations, with stronger validation of invitations and access rights, and MFA considered.
How it was found
- Create a Shopify Partners account.
- Add a member account you control and invite an owner using the victim's email address.
- As the member, view the list of invited owners to read the victim's email.
- Register a new Shopify account using the victim's email address, with no verification needed.
- Log in to that new account and accept the invitation, which grants owner privileges.
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.
When a company invites someone to its partner account, it normally sends an email to that person and only lets them join after they prove they can read that inbox. Here that proof step was missing, so anyone who knew an invited person's email address could sign up with it and take the invitation. That gave them the same high-level access as the real invited person.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.