Description
FileRise is a self-hosted web file manager / WebDAV server. In versions prior to 3.9.0, a hardcoded default encryption key (default_please_change_this_key) is used for all cryptographic operations — HMAC token generation, AES config encryption, and session tokens — allowing any unauthenticated attacker to forge upload tokens for arbitrary file upload to shared folders, and to decrypt admin configuration secrets including OIDC client secrets and SMTP passwords. FileRise uses a single key (PERSISTENT_TOKENS_KEY) for all crypto operations. The default value default_please_change_this_key is hardcoded in two places and used unless the deployer explicitly overrides the environment variable. This issue is fixed in version 3.9.0.
Problem types
CWE-798: Use of Hard-coded Credentials
CWE-1188: Insecure Default Initialization of Resource
Product status
References
github.com/...leRise/security/advisories/GHSA-f4xx-57cv-mg3x
github.com/...leRise/security/advisories/GHSA-f4xx-57cv-mg3x
github.com/error311/FileRise/releases/tag/v3.9.0