[Broken Access Control ] Unauthorized Linking accounts & Linked Accounts info DIsclosure
A user holding only member permissions could view activated linked accounts and connect new carts to the account. This let a lower-privileged member link third-party services such as Shopify, Xero or Stripe without authorisation.
- Triaged in 21 days
- Fixed in 57 days
- Paid in 57 days
- Disclosed after 4 months
Summary by the program
@mr_asg discovered that users of an account with member permissions were improperly allowed to see activated linked accounts and connect new carts to the account.
Summary by the researcher
I discovered a Vulnerability that allows the user who has member privileges to connect new carts to the Taxjar account , like (Shopify,xero,quickbooks,stripe,squarespace,etsy,ebay) by sending GET request to /auth/[CARTS-NAME]?authenticity_token=0
What the report shows
The target is TaxJar's web application at app.taxjar.com, and the feature in question is linked carts: the integrations that connect a TaxJar account to external services such as Shopify, Xero, QuickBooks, Stripe, Squarespace, Etsy and eBay. Accounts can have more than one user, and some of those users hold only member permissions rather than full administrative rights.
The researcher, mr_asg, found that a member-level user could do two things they should not have been able to do: see which linked accounts were already activated on the account, and connect new carts to it. The program's own summary confirms both halves: members were "improperly allowed to see activated linked accounts and connect new carts to the account".
The action that triggered the behaviour was a GET request to the authorisation path for a given cart, carrying an authenticity token parameter:
In the report the cart name is a placeholder, [CARTS-NAME], standing for one of the supported integrations. The authenticity_token value shown is literally 0; the report does not analyse what role the token played.
The report does not describe the response body, the exact sequence of clicks or requests that preceded it, or how the researcher first noticed the behaviour. It also does not state a fix, a bounty amount or a CVSS score. What is recorded is the severity, low, the weakness classification, improper access control (generic), and the disclosure date, 20 December 2022.
Root cause
The report does not state a root cause; it records only that members could see activated linked accounts and connect new carts.
Impact
Within the report's own framing, a low-privileged member could enumerate which external services are connected to the account and attach new carts. That exposes which external services are connected to the account and lets a member connect new carts. The report does not claim that a member could read credentials, move data or take over the account, and no such outcome is described.
How this kind of bug works
Broken access control covers any case where the server performs an action for a user who lacks the right to request it. The typical pattern is that the front end hides a button or menu entry from lower-privileged users, while the endpoint behind it trusts the session alone. Authorisation is then decided by what the client chooses to display rather than by what the server checks.
Role-based features are especially prone to this because the same endpoint often serves several roles. A member and an owner may both reach the linking handler, and the difference between them exists only in the UI. Related failures include horizontal issues, where one tenant reaches another tenant's objects by changing an identifier, and missing function-level checks, where an administrative endpoint is reachable by any authenticated user.
Defences are straightforward in principle: enforce the permission check server side on every request, keyed to the object being acted on, not just to the route; deny by default; and validate anti-CSRF tokens on state-changing requests regardless of the caller's role. Logging and alerting on permission denials helps catch probing.
How to test for it
- Map the roles available on the target, for example owner, admin and member, and create one account for each role where the program allows it.
- With the lowest-privileged account, walk the application and record every request that changes state or returns account configuration: linking, unlinking, invitations, settings, exports.
- Replay those requests directly, outside the UI, and watch for a success response where the interface would have blocked the action.
- Compare responses across roles: if a member receives the same linked-account listing as an owner, the check is missing.
- Test the anti-CSRF parameter separately by sending a placeholder value and seeing whether the request still succeeds.
- Where object identifiers appear, swap them for identifiers belonging to a second account you control and check whether the server honours the request.
A positive result is a state change or data disclosure that the role should not permit, reproducible from a clean session. Common false positives are endpoints that return a generic success page while silently doing nothing, cached responses, and UI-only hiding that the server does in fact reject once the request is replayed properly. Always confirm the effect by re-reading the account state afterwards.
How it is fixed
Apply a server-side permission check to every linking, listing and unlinking handler, tied to the account and the acting user's role. Treat the UI as presentation only. Enforce anti-CSRF tokens on all state-changing requests and reject missing or malformed values. Return a consistent authorisation error rather than a success page, and add tests that exercise each endpoint with each role.
Hunting notes
Integration and linking features are good hunting ground because they combine several roles, external identifiers and configuration data in one place. Look at settings pages, OAuth callback paths, and any route containing words like auth, connect, link or integrations. Recon signals include endpoints that appear in the UI only for owners but respond to members, and parameters such as authenticity tokens that accept arbitrary values.
To make a report land, show the before and after state of the account, name the role you used, and demonstrate the request from a fresh session so the reviewer can reproduce it. Keep the claim to what you actually observed: disclosure of configuration or an unauthorised state change is enough, and overstating it weakens the report.
What happened, in plain words
TaxJar is an online service that helps businesses work out sales tax. Its web application lives at app.taxjar.com. One of its features is linked carts: connections between a TaxJar account and outside services such as Shopify, Xero, QuickBooks, Stripe, Squarespace, Etsy and eBay. Think of a linked cart as a bridge between your TaxJar account and a shop or accounting system, so that sales data can flow between them.
A TaxJar account can have several users. Not all of them have the same rights. Some are owners or administrators with full control, and others are members with a more limited role. The whole point of roles is that a member should only be able to do part of what an owner can do.
The researcher, mr_asg, found that a member-level user could do two things that should have been reserved for higher-privileged users:
- See which linked accounts were already activated on the TaxJar account.
- Connect new carts to the account.
The program's own summary confirms both halves: members were "improperly allowed to see activated linked accounts and connect new carts to the account".
The action that triggered this behaviour was a single web request. When you use a website, your browser sends requests to a server: it asks for a page, submits a form, or triggers an action. This is the request the researcher used:
Line by line:
GETis the type of request. It means "give me this thing". It is the same kind of request your browser makes when you open a normal web page./auth/[CARTS-NAME]is the path on the server.authsuggests an authorisation or connection step, and[CARTS-NAME]is a placeholder standing for one of the supported integrations, such as Shopify or Xero. The report does not say which name was actually used.?authenticity_token=0is a parameter sent along with the request. An authenticity token is a secret value that a website puts into its pages so that the server can tell a genuine action, started from its own pages, apart from a forged one. This protection is commonly called anti-CSRF. Here the value sent is literally0; the report does not analyse what role the token played.
Why does this matter? The program summary records that members were improperly allowed to see activated linked accounts and connect new carts. Instead, a member could learn which outside services are connected to the account and could attach new carts.
The report does not describe the response body, the exact sequence of clicks or requests that came before, or how the researcher first noticed the behaviour. It also does not state a fix, a bounty amount or a CVSS score. What is recorded is the severity, low, the weakness classification, improper access control (generic), and the disclosure date, 20 December 2022. The report does not claim that a member could read credentials, move data or take over the account, and no such outcome is described.
In general, how this kind of bug works
This is a case of broken access control. Access control is the set of rules about who is allowed to do what. Broken access control means the server performs an action for a user who does not have the right to ask for it.
The usual pattern is simple. The website's interface hides a button or menu entry from lower-privileged users, so a member never sees the "connect a cart" option. But the endpoint behind that button, the address the browser talks to, trusts only that someone is logged in. It never asks whether this particular person is allowed. Authorisation is then decided by what the browser chooses to display, rather than by what the server checks. Hiding a button is like putting a sign on a door saying "staff only" without fitting a lock: anyone who knows the door is there can walk through.
Role-based features are especially prone to this because one endpoint often serves several roles. A member and an owner may both reach the linking handler, and the only difference between them exists in the interface. Related failures include horizontal issues, where one customer reaches another customer's data by changing an identifier in a request, and missing function-level checks, where an administrative endpoint is reachable by any logged-in user.
Defences are straightforward in principle: enforce the permission check on the server for every request, tied to the object being acted on and not just to the route; deny by default; and validate anti-CSRF tokens on requests that change something, whatever the caller's role. Logging and alerting on permission denials helps catch someone probing.
In general, how to test for it
- Map the roles available on the target, for example owner, admin and member, and create one account for each role where the program allows it.
- With the lowest-privileged account, walk the application and record every request that changes state or returns account configuration: linking, unlinking, invitations, settings, exports.
- Replay those requests directly, outside the interface, and watch for a success response where the interface would have blocked the action.
- Compare responses across roles: if a member receives the same linked-account listing as an owner, the check is missing.
- Test the anti-CSRF parameter separately by sending a placeholder value and seeing whether the request still succeeds.
- Where object identifiers appear, swap them for identifiers belonging to a second account you control and check whether the server honours the request.
A positive result is a state change or data disclosure that the role should not permit, reproducible from a clean session. Common false positives are endpoints that return a generic success page while silently doing nothing, cached responses, and interface-only hiding that the server does in fact reject once the request is replayed properly. Always confirm the effect by re-reading the account state afterwards.
In general, how it is fixed
Apply a server-side permission check to every linking, listing and unlinking handler, tied to the account and the acting user's role. Treat the interface as presentation only. Enforce anti-CSRF tokens on all requests that change something, and reject missing or malformed values. Return a consistent authorisation error rather than a success page, and add tests that exercise each endpoint with each role.
In general, where to look
Integration and linking features are good hunting ground because they combine several roles, external identifiers and configuration data in one place. Look at settings pages, OAuth callback paths, and any route containing words like auth, connect, link or integrations. Recon signals include endpoints that appear in the interface only for owners but respond to members, and parameters such as authenticity tokens that accept arbitrary values.
To make a report land, show the before and after state of the account, name the role you used, and demonstrate the request from a fresh session so the reviewer can reproduce it. Keep the claim to what you actually observed: disclosure of configuration or an unauthorised state change is enough, and overstating it weakens the report.
Glossary
- Access control: the rules that decide which users may perform which actions.
- Anti-CSRF: a protection that makes sure a request changing something came from the site's own pages and not from a forged one, usually via a secret token.
- Authenticity token: the secret value placed in a page and checked by the server as part of anti-CSRF protection.
- Authorisation: deciding whether a logged-in user is allowed to do a particular thing.
- Broken access control: a flaw where the server lets a user do something their role does not permit.
- Cart (linked cart): in TaxJar, a connection between the account and an outside service such as Shopify or Xero.
- CVSS: a standard scoring system for the severity of a vulnerability.
- Endpoint: the address on a server that a request is sent to.
- GET request: a request that asks the server to return something, as opposed to submitting data.
- Horizontal issue: a flaw where one customer reaches another customer's data by changing an identifier.
- Member: a user role with limited rights on an account.
- OAuth callback: a path an outside service sends the user back to after they approve a connection.
- Parameter: a named value sent along with a request, here
authenticity_token. - Placeholder: a stand-in name, such as
[CARTS-NAME], used in place of the real value. - Replay: sending a captured request again, outside the normal interface.
- Role: a set of permissions given to a user, such as owner or member.
- Session: the state of being logged in, which the server uses to recognise you across requests.
- Severity: how serious a vulnerability is judged to be, here low.
- State change: any action that alters data, such as connecting a new cart.
- Vulnerability: a weakness in software that allows behaviour the designers did not intend.