Plan Ristriction Bypass For Slack Integration 500 Improper Validation Check Bug
A free-plan user could bypass subscription restrictions and add a Slack integration by changing the integration type in the setup request from GitHub to Slack. This allowed access to a premium feature without paying.
Published on infosecwriteups.com
Xentry.io is a prominent platform used for error tracking and monitoring in software development. However, a flaw in its integration setup process enables users to circumvent plan restrictions and utilize Slack integrations without the required subscription level.
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 integration setup flow did not validate that the requested integration type matched the user's subscription plan, allowing the type to be changed in the request.
Impact
Free-plan users could access Slack integrations, potentially exposing sensitive information and undermining the subscription model.
What the attacker needed
A free plan account; ability to intercept HTTP requests
The fix
The issue was fixed by adding proper validation mechanisms to enforce plan restrictions.
How it was found
- Create a free plan account on Xentry.io.
- Go to the integrations section and select the GitHub integration.
- Intercept the HTTP request for adding GitHub integration using a tool like Burp Suite.
- Replace 'github' with 'slack' in the intercepted request URL.
- Forward the modified request and follow the steps to connect your Slack account.
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.
The website had a rule that only paying customers could connect Slack. But when you set up a GitHub connection (which is free), the website didn't check that you were still setting up GitHub when you finished. By changing the word 'github' to 'slack' in the web address during setup, you could trick the site into giving you the paid Slack feature for free.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.