CVE-2024-48928 in Piwigo
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 parti...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Piwigo | Piwigo | ≥ 14.0.0, ≤ 14.5.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-48928 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-216452-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2026-02-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-330: CWE-330
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-330
CAPEC-485 Signature Spoofing by Key Recreation via CWE-330
CAPEC-112 Brute Force via CWE-330
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Piwigo versions on the 14.x branch use an insufficiently random secret_key during installation, which can be brute-forced. This allows attackers to predict the CSRF token and potentially perform CSRF attacks.
The secret_key is generated using MD5(RAND()), where RAND() only provides 30 bits of randomness. This makes it feasible to brute-force the secret_key, which is used in the construction of the CSRF token. An attacker can attempt to brute-force the secret_key and verify the success by checking the CSRF token.
Questions
What is CVE-2024-48928?
Piwigo versions on the 14.x branch use an insufficiently random secret_key during installation, which can be brute-forced. This allows attackers to predict the CSRF token and potentially perform CSRF attacks.
What is the CVSS score for CVE-2024-48928?
CVE-2024-48928 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2024-48928 actively exploited?
No confirmed active exploitation of CVE-2024-48928 as of 2026-09-25.
How do I remediate CVE-2024-48928?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-48928?
CVE-2024-48928 affects Piwigo Piwigo.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Piwigo","product":"Piwigo","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.