GitHub Advisory Database
GHSA-5qr3-4839-88gf
TeamPass Improper Privilege Management
Details
TeamPass before 2.1.27.9 does not properly enforce manager access control when requesting users.queries.php. It is then possible for a manager user to delete an arbitrary user (including admin), or modify attributes of any arbitrary user except administrator. To exploit the vulnerability, an authenticated attacker must have the manager rights on the application, then tamper with the requests sent directly, for example by changing the "id" parameter when invoking "delete_user" on users.queries.php.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | nilsteampassnet/teampass | All versions before 2.1.27.9 (fixed in 2.1.27.9) |