Piwigo: SQL Injection in Batch Manager
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 1
- Piwigoaffected: < 16.4.0CVE List
References 4
- github.com/Piwigo/Piwigo/commit/c7e30da5c1775b531ce9a30aac04134cd714b472Fixvia CVE List
- github.com/Piwigo/Piwigo/commit/e4f0989d350d66207066ea61f8ee8c137164fb2fFixvia CVE List
- github.com/Piwigo/Piwigo/releases/tag/16.4.0Fixvia CVE List
- github.com/Piwigo/Piwigo/security/advisories/GHSA-7r67-9xhq-7p2cExploitvia CVE List