# Stored Credential Theft via Malicious Shared Connector Leading to Administrator Account…
A low-privileged workspace member could create a shared connector pointing to an attacker-controlled server, and when an administrator entered their Bearer token into that connector, the backend forwarded the credentials to the attacker. This let the attacker steal an administrator token and gain administrator-level access.
While assessing the security of a modern AI collaboration platform, I discovered a privilege escalation vulnerability that allowed a low-privileged workspace member to capture administrator Bearer tokens and gain effective administrator-level access.
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 a design flaw where low-privileged users could publish workspace-wide connectors to arbitrary external servers, and administrator-supplied credentials were automatically forwarded to those servers without trust verification.
Impact
A low-privileged user could escalate to administrator level, access privileged functionality, modify settings, manage integrations and potentially fully compromise the workspace.
What the attacker needed
A low-privileged workspace account; an attacker-controlled external server; an administrator interacts with the connector
The fix
Shared connector creation should be restricted to trusted users or administrators, require approval and domain verification, and credentials should never be automatically forwarded to untrusted third-party servers.
How it was found
- Create a connector with workspace-wide visibility that points to an attacker-controlled server and uses a Bearer authentication scheme.
- Wait for an administrator to open the shared connector and submit their Bearer token at the credential prompt.
- Receive the forwarded credentials at the attacker-controlled endpoint and use the administrator Bearer token.
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 connector is a feature that lets a workspace talk to an outside service. A low-level user could make one that looked normal but secretly sent data to a server they controlled. When an admin typed their login token into it, the platform passed that token to the attacker, who could then act as the admin.
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.