User password is available in memory of the PHP process
Package
Server
(Nextcloud)
Affected versions
>= 28.0.0, >= 29.0.0, >= 30.0.0
Patched versions
28.0.12, 29.0.9, 30.0.2
Server
(Nextcloud Enterprise)
>= 28.0.0, >= 29.0.0, >= 30.0.0
28.0.12, 29.0.9, 30.0.2
Impact
Under certain conditions the password of a user was stored unencrypted in the session data. The session data is encrypted before being saved in the session storage (Redis or disk), but it would allow a malicious process that gains access to the memory of the PHP process, to get access to the cleartext password of the user.
Patches
It is recommended that the Nextcloud Server is upgraded to 28.0.12, 29.0.9 or 30.0.2
It is recommended that the Nextcloud Enterprise Server is upgraded to 28.0.12, 29.0.9 or 30.0.2
Workarounds
References
For more information
If you have any questions or comments about this advisory: