Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerabilities in an interactive lesson.
Start learningUpgrade github.com/HFO4/cloudreve/service/user to version 4.13.0 or higher.
Affected versions of this package are vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) seeded with predictable values in the secret_key and hash_id_salt. An attacker can gain unauthorized access to any user account, including administrators, by brute-forcing the PRNG seed using publicly available account creation times and validating the seed with known hash IDs. This enables the attacker to forge valid authentication tokens and escalate privileges.
Note:
This is only exploitable if the instance was initially deployed with a version prior to 4.10.0, even if later upgraded.
This vulnerability can be mitigated by manually rotating the critical secrets in the configuration file, replacing them with long, random values, and restarting the service.