PT-2024-19997 · Pimcore · Pimcore Admin Classic Bundle
Wkania
·
Published
2024-01-24
·
Updated
2024-01-31
·
CVE-2024-23646
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Pimcore's Admin Classic Bundle versions prior to 1.3.2
Description
The application allows users to create zip files from available files on the site. The parameter
selectedIds is susceptible to SQL Injection. Any backend user with very basic permissions can execute arbitrary SQL statements and thus alter any data or escalate their privileges to at least admin level.Recommendations
For versions prior to 1.3.2, update to version 1.3.2 to resolve the issue.
As a temporary workaround, consider adding the following code to escape parameters:
foreach ($selectedIds as $selectedId) {
if ($selectedId) {
$quotedSelectedIds[] = $db->quote($selectedId);
}
}Restrict access to the
downloadAsZipAddFilesAction endpoint to minimize the risk of exploitation.
Avoid using the parameter selectedIds in the affected API endpoint until the issue is resolved.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pimcore Admin Classic Bundle