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
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 2.7
- EPSS exploit prediction: 0% (17th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-55453
- Weakness: CWE-330
- Affected product: Piwigo
- Published:
- Last modified:
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
- https://github.com/Piwigo/Piwigo/commit/552499e0533ce54b55f4304b41ca6cd7ccce51f8
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hghg-37rg-7r42
Affected products (1)
- cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:*
More vulnerabilities in Piwigo
- CVE-2014-4648 — Critical (CVSS 10.0): Unspecified vulnerability in Piwigo before 2.6.3 has unknown impact and attack vectors, related to a "security failure."
- CVE-2026-27634 — Critical (CVSS 9.8): Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, the four date filter…
- CVE-2023-33362 — Critical (CVSS 9.8): Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function.
- CVE-2023-33361 — Critical (CVSS 9.8): Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php.
- CVE-2020-19213 — Critical (CVSS 9.8): SQL Injection vulnerability in cat_move.php in piwigo v2.9.5, via the selection parameter to move_categories.
- CVE-2021-32615 — Critical (CVSS 9.8): Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection.
Other CWE-330 (Use of Insufficiently Random Values) vulnerabilities
- CVE-2023-22601 — Critical (CVSS 10.0): InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version…
- CVE-2026-25072 — Critical (CVSS 9.8): XikeStor SKS8310-8X Network Switch firmware versions 1.04.B07 and prior contain a predictable session identifier…
- CVE-2026-27755 — Critical (CVSS 9.8): SODOLA SL902-SWTGW124AS firmware versions through 200.1.20 contain a weak session identifier generation vulnerability…
- CVE-2026-27637 — Critical (CVSS 9.8): FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.206,…
- CVE-2025-64097 — Critical (CVSS 9.8): NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A…
- CVE-2025-4607 — Critical (CVSS 9.8): The PSW Front-end Login & Registration plugin for WordPress is vulnerable to Privilege Escalation in all versions up…
Browse all CWE-330 (Use of Insufficiently Random Values) vulnerabilities →