🇰🇷 한글 설명
Pimcore 플랫폼에서 reports_config 권한을 가진 인증된 사용자가 SQL 쿼리 구성 요소에 악의적인 SQL 조각을 삽입할 수 있는 취약점입니다. 이 취약점을 통해 공격자는 데이터베이스의 임의 데이터를 조회, 수정 또는 삭제할 수 있습니다.
💡 쉬운 설명
권한이 있는 사용자가 보고서 설정 기능을 악용하여 데이터베이스에 몰래 명령어를 입력할 수 있는 문제입니다. 이를 통해 중요한 정보를 훔치거나 데이터를 마음대로 지울 수 있습니다.
🇺🇸 원문 (English)
Pimcore is an Open Source Data & Experience Management Platform. Prior to 11.5.19, 12.3.10, and 2026.1.6, an authenticated user with reports_config permission can place attacker-controlled SQL fragments in the sql, from, where, and groupby fields of a Custom Reports configuration processed by bundles/CustomReportsBundle/src/Tool/Adapter/Sql.php. The buildQueryString() method concatenates these values into a database query, while a blacklist omits dangerous constructs such as additional data-manipulation statements, comments, subqueries, and multiple statements. The getData() method also previously interpolated offset and limit values into a LIMIT clause without integer casting. Executing the configured report reaches fetchAllAssociative() with the constructed query and can disclose, modify, or delete arbitrary database data. This issue is fixed in versions 11.5.19, 12.3.10, and 2026.1.6.
📍 영향받는 시스템
Pimcore 11.5.19 미만, 12.3.10 미만, 2026.1.6 미만 버전
⚔️ 공격 벡터
인증된 사용자가 Custom Reports 설정의 SQL 관련 필드에 조작된 SQL 구문을 삽입하여 공격
🛡️ 대응 방법
Pimcore를 최신 보안 패치 버전(11.5.19, 12.3.10, 2026.1.6 이상)으로 업데이트
🔧 검증 코드
출력된 버전 정보가 취약점이 해결된 버전(11.5.19, 12.3.10, 2026.1.6 이상)인지 확인
composer show pimcore/pimcore | grep 'versions'