Insufficient Entropy in Piwigo - CVE-2024-48928
Published: April 25, 2026
Piwigo
Detailed vulnerability description
The vulnerability allows a remote attacker to generate valid ephemeral keys.
The vulnerability exists due to insufficient entropy in secret_key generation in the installation configuration process when initializing the secret_key value with MD5(RAND()) in MySQL. A remote attacker can brute-force the secret key and verify guesses using the CSRF token construction to generate valid ephemeral keys.
Trying all possible values takes approximately one hour.