pyLoad
pyLoad: Privilege revocation and password change through the REST API do not invalidate the user's session
pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev102, pyLoad does not invalidate existing Flask sessions when an administrator changes a user's permissions or password through /api/set_user_permission or /api/change_password. Api.set_user_permission and Api.change_password update the database, but session authorization continues to use role and permission values copied at login by set_session in webui/app/helpers.py. A user can therefore retain revoked privileges or continue using a session established with an old password for the configured session lifetime. API-key authentication is not affected because that path rereads user data from the database. This issue is fixed in version 0.5.0b3.dev102.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.5.0b3.dev102
Fixed in 0.5.0b3.dev102
Mitigation
Upgrade pyload to 0.5.0b3.dev102 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.