Auth Bypass is it?
The backend accepted a fake MSPACE deeplink token as valid during a control-transfer request, returning a success message. An authenticated caller could submit arbitrary encrypted ssoId, role and token values and still receive a successful validation response.
infosecwriteups.com
Published on infosecwriteups.com
After finding a client-side encrypted API flow, I looked for other places where the application trusted encrypted data from the browser.
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 backend did not verify the inner MSPACE token against a trusted source and simply returned a success message for the validation flow.
Impact
An authenticated caller could submit arbitrary encrypted ssoId, role and fake token values and still get a successful validation response; if downstream logic trusts that result, it could lead to unauthorised control-transfer behaviour, role confusion or access to MSPACE-only workflows.
What the attacker needed
A valid outer API bearer token; the API AES key and IV from the bundle; a valid test SSO ID
How it was found
- Find the frontend bundle logic that decrypts the data URL parameter and posts to the control-transfer endpoint.
- Create a JSON body with a valid test SSO ID, a role and a fake random MSPACE token.
- Encrypt that body with the API AES key and IV taken from the bundle.
- Send the encrypted payload to the control-transfer endpoint with a valid outer bearer token.
- Decrypt the encrypted response payload.
- Observe that the response says token validation succeeded.
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 deeplink token is a value meant to prove that a request really came from a trusted app. Here the server said the token was valid even though it was just random text, so the check was not actually checking anything.
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.