toui allows user-specific variables to be shared between users
Critical severity
GitHub Reviewed
Published
May 24, 2023
in
mubarakalmehairbi/ToUI
•
Updated Nov 4, 2023
Description
Published to the GitHub Advisory Database
May 24, 2023
Reviewed
May 24, 2023
Published by the National Vulnerability Database
May 30, 2023
Last updated
Nov 4, 2023
Impact
Websites that use
Website.user_vars
property in versions.Patches
It affects versions v2.0.1 to v2.4.0. Please upgrade to v2.4.1
Workarounds
Do not use
Website.user_vars
in websites when using versions v2.0.1 to v2.4.0. Also, do not useWebsite.signin_user()
in version v2.4.0 only.Explanation
ToUI is using Flask-Caching (SimpleCache) to store user variables. My misunderstanding was that these caches are stored in the client's browser, but it seems that these are stored in the server side.
References