How i was able to chain bugs and gain access to internal okta instance
An unauthenticated endpoint on an internal admin tool let the author send a Slack invitation to their own email address, despite returning a server error. The invitation gave access to a Slack workspace where OKTA credentials had been posted, and those credentials then allowed admin access to the tool itself.
Published on medium.com
this writeup about how i was bale to chain some access to gain access into a private company internal OKTA
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 Slack invite endpoint lacked any authentication or authorisation check, so anyone who could reach the host could trigger an invitation.
Impact
An unauthenticated attacker could join the company's Slack, obtain OKTA credentials posted there, gain access to the internal OKTA instance, and then use admin rights to convert or deactivate any Slack user.
What the attacker needed
Internet-exposed internal host; no account needed; credentials posted in Slack chat
How it was found
- Find the internal host through internet-wide scanning services.
- Reach the admin tool directly through the exposed IP address.
- Discover the invite endpoint by directory brute force.
- Send an invitation request for the author's own email address.
- Receive the Slack invitation by email and join the workspace.
- Use OKTA credentials found in the Slack chat to log in and gain admin access.
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 company had an internal admin page for managing Slack users. The author found that one action on that page, inviting a new person to Slack, worked even without logging in. Because the invite arrived by email, they could join the company's Slack, where someone had posted login details for another system, and from there they got admin control.
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.