CVE-2024-48928
published low CVSS 4.0 · 2.7Piwigo's secret key can be brute forced
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Piwigo | — | Piwigo>= 14.0.0, < 15.0.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Piwigo | Piwigo | >= 14.0.0, < 15.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-330 CWE-330: Use of Insufficiently Random Values
References
2Provider assertions
2GitHub_M · cna
Piwigo's secret key can be brute forced
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6915a89d397cc234c37ccfafa3a51197fdd491f49154a0524480a40e5f041318
- Ingested
- 23 Sep 2026, 08:28:51 UTC
- Source record
- Official CVE record