CVE-2024-48928

CVE-2024-48928 is a high-severity vulnerability in Piwigo with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-330.

Key facts

Description

Piwigo is an open source photo gallery application for the web. In versions on the 14.x branch, when installing, the secret_key configuration parameter is set to MD5(RAND()) in MySQL. However, RAND() only has 30 bits of randomness, making it feasible to brute-force the secret key. The CSRF token is constructed partially from the secret key, and this can be used to check if the brute force succeeded. Trying all possible values takes approximately one hour. The impact of this is limited. The auto login key uses the user's password on top of the secret key. The pwg token uses the user's session identifier on top of the secret key. It seems that values for get_ephemeral_key can be generated when one knows the secret key. Version 15.0.0 contains a fix for the issue.

Frequently asked questions

What is CVE-2024-48928?
Piwigo is an open source photo gallery application for the web. In versions on the 14.x branch, when installing, the secret_key configuration parameter is set to MD5(RAND()) in MySQL. However, RAND() only has 30 bits of randomness, making it feasible to brute-force the secret key. The CSRF token is constructed partially from the secret key, and this can be used to check if the brute force succeeded. Trying all possible values takes approximately one hour. The impact of this is limited. The auto login key uses the user's password on top of the secret key. The pwg token uses the user's session identifier on top of the secret key. It seems that values for get_ephemeral_key can be generated when one knows the secret key. Version 15.0.0 contains a fix for the issue.
How severe is CVE-2024-48928?
CVE-2024-48928 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-48928 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-48928?
CVE-2024-48928 affects Piwigo. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-48928?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-48928 have an EU (EUVD) identifier?
Yes. CVE-2024-48928 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-55453.
When was CVE-2024-48928 published?
CVE-2024-48928 was published on 2026-02-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Piwigo

All CVEs affecting Piwigo →

Other CWE-330 (Use of Insufficiently Random Values) vulnerabilities

Browse all CWE-330 (Use of Insufficiently Random Values) vulnerabilities →