Insufficient Entropy in Piwigo - CVE-2024-48928

 

Insufficient Entropy in Piwigo - CVE-2024-48928

Published: April 25, 2026


Vulnerability identifier: #VU127941
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-48928
CWE-ID: CWE-331
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Piwigo

How to mitigate CVE-2024-48928

Install security update from vendor's website.

Piwigo - update to 14.1.0

External References

Related Security Bulletins