SAML Configuration Exposure to Low-Privilege Team Members Due to
A SAML configuration page meant for Admins was reachable by a low-privileged Viewer in the same team by visiting its URL directly, and the response disclosed SSO settings and the uploaded metadata XML. An attacker with a Viewer account could read the authentication configuration to plan further attacks.
Published on medium.com
During an access control assessment of a web application, I found that the SAML configuration page — which is only visible through the Admin panel — could still be accessed by a low-privileged Viewer user within the same team simply by navigating directly to its URL. Although Operator/Viewer roles do not see this page…
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
The backend did not check the user's role before serving the SAML configuration page and its data, relying only on hiding the page in the UI.
Impact
A Viewer could read SSO configuration values and the uploaded metadata XML, which could help prepare attacks against the authentication layer, though the Viewer could not modify the configuration.
What the attacker needed
A low-privileged Viewer account; same team as an Admin; know the SAML configuration URL
The fix
The application should enforce server-side role checks on all SAML configuration routes and APIs, return 403 for non-Admins, and avoid returning full metadata or certificate details to non-admin users.
How it was found
- Log in as an Admin and open the SAML configuration page, noting its URL.
- Switch to a low-privileged Viewer account in the same team.
- Visit the same SAML configuration URL directly.
- Observe that the page renders and the SSO details and metadata XML are returned.
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 web app has an admin settings page for single sign-on (SAML), which lets staff log in through a company identity provider. The page was hidden from low-privileged users in the menu, but the server still sent the page and its secrets if someone typed the address. That means a user with few rights could read how login is configured.
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.