PT-2026-21769 · Piwigo · Piwigo
Published
2026-02-24
·
Updated
2026-02-25
·
CVE-2024-48928
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Piwigo versions 14.x
Description
Piwigo is a photo gallery application for the web. In versions on the 14.x branch, the
secret key configuration parameter is set to MD5(RAND()) during installation when using MySQL. The RAND() function has limited randomness (30 bits), allowing the secret key to be brute-forced in approximately one hour. The CSRF token is partially constructed from the secret key, enabling verification of a successful brute-force attempt. The auto login key utilizes the user's password in addition to the secret key, and the pwg token incorporates the user's session identifier along with the secret key. Knowing the secret key allows the generation of values for get ephemeral key.Recommendations
Update to version 15.0.0 or later.
Exploit
Fix
Use of Insufficiently Random Values
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Piwigo