Skip to content
Access control Write-up Intermediate

921$ Privilege Escalation: Unauthorized User Addition to Shared APP Connections

A low-level user in a shared app connection could add new users to that connection despite lacking permission. An attacker could thereby give unauthorised people access to confidential data in the shared connection.

infosecwriteups.com

Published on infosecwriteups.com

This article is about a bug which i founded in nov. of last year which allow an low level and unauthorized user to add a new user in shared app connection which give access to confidential data to unwanted user and affecting the integrity of the platform.

Abhi Sharma, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server checked that the caller was logged in but did not check that the caller had permission to add members to that particular connection.

Impact

An unauthorised user could be added to a shared connection, giving them access to confidential data and affecting the integrity of the platform.

What the attacker needed

A low-level account in the shared connection; a captured admin add-member request; the target user's identifier

The fix

The platform should enforce a server-side permission check so that only users with the share or admin role can add members to a connection.

How it was found

  1. An admin adds a low-level user to a shared Google Drive connection and the request is captured.
  2. The low-level user opens the connection settings and starts editing the connection name.
  3. The resulting GraphQL request is intercepted and sent to a repeater tool.
  4. The attacker replaces the member identifier with the identifier of the user they want to add.
  5. The modified request is sent and returns a success response.
  6. The admin checks the connection and sees the new user has been added.

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 write-up has not been written yet. The Original tab links to the source.

A shared app connection lets several people use one linked account, such as a Google Drive account, inside an automation platform. The platform is supposed to let only admins add new people to that connection. Here, a normal user could send a request that added anyone they wanted, so outsiders could see the shared data.

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.

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.