Broken session control leads to access the admin panel even after revoking the access!! — #ZOHO
After an admin revoked a user's admin role, the user's existing session token remained valid, allowing them to continue performing admin actions. An attacker with a previously assigned admin role could retain full administrative control even after revocation.
Every IT Guy Know about the Zoho people plus, it is mostly used by the employees in the companies. Recently i found a vulnerability in Zoho people plus, the interesting thing is even after revoking the admin access, a user can still able to make changes on the Zoho people plus as a admin.
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 application did not re-check the user's current role on each request and did not invalidate the session token when the admin role was revoked.
Impact
A user whose admin access was revoked could still perform all administrative actions, including making changes, because the token remained valid and authorization was not re-checked.
What the attacker needed
User previously had admin access; admin access later revoked
The fix
The issue was fixed according to the report.
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.
When you log in to a website, the site gives your browser a token (like a temporary pass) so you don't have to log in again for every action. This report says that even after an administrator removed someone's admin rights, that person's old token still worked, so they could keep doing admin things. The fix is to check permissions on every request and to invalidate tokens when roles change.
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.