Piwigo
Piwigo: SQL Injection in Batch Manager
Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/batch_manager.php accepts administrator-controlled dimension width, height, and ratio values and filesize values from the Batch Manager filter URL without numeric validation. The URL filter parser stores those values in the bulk_manager_filter session state, and later query construction concatenates them into SQL predicates, unlike the validated POST filter path. An authenticated administrator can use crafted filter values to execute time-based or other SQL expressions and potentially disclose, modify, or disrupt database data. This issue is fixed in version 16.4.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 16.4.0
Fixed in 16.4.0
Mitigation
Upgrade Piwigo to 16.4.0 or later.
References
- Vendor advisory github.com/Piwigo/Piwigo/security/advisories/G…
- Patch github.com/Piwigo/Piwigo/commit/c7e30da5c1775b…
- Patch github.com/Piwigo/Piwigo/commit/e4f0989d350d66…
1 more
- Release notes github.com/Piwigo/Piwigo/releases/tag/16.4.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.