Why user account provisioning needs security checks
User account provisioning controls how accounts are created, assigned access and later withdrawn. Staff, suppliers and automated services may all take part in that process. If the application checks only whether someone can open an account-management page, it may miss a more important question: which accounts and permissions that person is actually authorised to create or change.
What is user account provisioning?
Provisioning turns an approved request into a working account with defined access. It can happen through a staff console, an invitation, a customer administrator or an automated connection to another business system.
The authority to create accounts needs its own limits. A delegated manager might add colleagues to one customer organisation without having permission to create global administrators or users in another organisation.
Account lifecycle management also covers changes and removal. When a person leaves or moves responsibility, the application needs a defined process for withdrawing access and handling records they own.
Strong user registration security addresses the checks around joining through a sign-up process. Provisioning reviews also examine people and services that create or manage accounts on somebody else's behalf.
Why it matters
Consider a service that lets each customer nominate a local administrator. That administrator should be able to invite colleagues and assign a limited set of customer roles.
If account creation accepts a wider role or a different organisation without checking the administrator's authority, the new account could receive access outside that customer's boundary. The original administrator would not need those permissions personally for the provisioning mistake to matter.
Removal can create a different problem. A disabled account might retain a usable session or integration credential if the application does not apply its withdrawal process consistently.
The business needs to establish who approved the access, what the resulting account can do and how that access will end. Creating a valid account should never replace those decisions.
How penetration testers check for it
- Identify which roles and automated services can create, change or disable accounts, then compare that authority with the approved business process.
- Use agreed test accounts to assess permitted account types, assignable roles and organisation boundaries, including invitations and delegated administration.
- Review approval and verification checks for account changes and removals, including defined behaviour for existing sessions and related access credentials.
- Assess how ownership of records and essential administration responsibilities is handled when an account is withdrawn, using controlled scenarios agreed with the owner.
How to fix it
- Define account-management permissions separately from ordinary application access. Specify which account types, roles and organisations each administrator or service may manage.
- Validate every provisioning request on the server. Apply approved role and organisation limits even when a request arrives through an import, invitation or automated integration.
- Record who requested and approved important changes. Give automated services dedicated accounts with limited authority and a clear operational owner.
- Make withdrawal a complete process. Remove the required access, address active sessions and credentials, and transfer business records through an approved ownership arrangement.
Check automated imports against the application's disabled-account status. A scheduled synchronisation should follow the agreed lifecycle rules and must not quietly recreate access that an authorised owner has withdrawn.
Related issues
- Why user role security starts with clear permissions
- How user registration security prevents fake accounts
- Reviewing logout, revocation and session termination controls
Read about our methodology or contact pentested.com to discuss testing for your website.