Read the docs
TI-2024-32623 Aliases CVE-2024-48928

Piwigo's secret key can be brute forced

Priority LOW 13CWE-330Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00296 22nd percentileScored 2026-11-07
Fix Fixed Piwigo (Piwigo): 15.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PiwigoPiwigo14.0.0 to before 15.0.015.0.0Patch availableCNA
  • Piwigo VendorPiwigo Affected 14.0.0 to before 15.0.0 Fixed in 15.0.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:*14.0.0 – 14.5.0VulnerablePiwigo
  • cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:* Versions 14.0.0 – 14.5.0 Vulnerable ·Piwigo

Remediation

  • Fix · CNA Piwigo (Piwigo) Fixed in 15.0.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-48928

References

  • TI-2023-16500 Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function. CVSS 3.1CRITICAL 9.8
  • TI-2023-16499 Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php. CVSS 3.1CRITICAL 9.8
  • TI-2023-23899 Piwigo Reflected XSS vulnerability CVSS 3.1CRITICAL 9.3
  • TI-2025-38673 Piwigo is vulnerable to one-click account takeover by modifying the password-reset link CVSS 3.1HIGH 8.8
  • TI-2024-32356 Piwigo v14.5.0 was discovered to contain a Cross-Site Request Forgery (CSRF) via the Edit album function. CVSS 3.1HIGH 8.8
  • TI-2023-11988 Piwigo before 13.6.0 was discovered to contain a SQL injection vulnerability via the… CVSS 3.1HIGH 8.8
See all 102 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences