Launch Week Day 1: Announcing Security Design Review
UNKNOWN PyPI

pyLoad's Session Not Invalidated After Permission Changes

GHSA-fj52-5g4h-gmq8

Published ยท Modified

Description

Summary

The pyload application does not properly invalidate or modify sessions upon changes made to a user's permissions.

Details

Whenever an administrator changes the permissions a specific account has, they do not expect that account still being able to access data that their new permissions do not allow. This is not the case for the pyload application, as a user with a valid session can still perform the actions.

PoC

Take a user with all the permissions, as shown below.
image

We now log in as this user.
image

Let us now take away all the permissions.
image

The logged in session can still be used to access everything in the application.
image

Impact

Should permissions be taken away, then the user is expected not to be able to execute the actions belonging to those actions anymore.

Ready to move

Start Securing

Free, no credit card | First findings in minutes