In the System → Maintenance tool, the Logged Users tab surfaces sessionId data for all users via the Direct Web Remoting API (UserSessionAjax.getSessionList.dwr) calls. While this is information that would and should be available to admins who possess Sign In As powers, admins who otherwise lack this privilege would still be able to utilize the session IDs to imitate other users.
While this is a very small attack vector that requires very high permissions to execute, its danger lies principally in obfuscating attribution; all Sign In As operations are attributed appropriately in the log files, and a malicious administrator could use this information to render their dealings untraceable — including those admins who have not been granted this ability — such as by using a session ID to generate an API token.
Fixed in: 24.07.12 / 23.01.20 LTS / 23.10.24v13 LTS / 24.04.24v5 LTS
This was the original found by researcher Zakaria Agharghar.
UserAjax.getUsersList.dwr - Enumerate all users with IDs, names, emails
RoleAjax.getUserRole.dwr - Get user role information
RoleAjax.getRole.dwr - Get role details
RoleAjax.getRolePermissions.dwr - View role permissions
RoleAjax.isPermissionableInheriting.dwr - Check permission inheritance
RoleAjax.getCurrentCascadePermissionsJobs.dwr - View permission cascade jobs
ThreadMonitorTool.getThreads.dwr - Monitor system threads; and,
CRITICAL - Privilege Escalation: RoleAjax.saveRolePermission.dwr - Modify role permissions
Overall CVSS for the above findings:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Score: 9.1 (Critical)
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.