🇰🇷 한글 설명
baserCMS 5.3.0 미만 버전의 BcDatabaseService.php에서 SQL 인젝션 취약점이 발견되었습니다. 인증된 관리자가 테이블 이름과 설정값을 SQL 문에 직접 주입할 수 있으며, 백업 복구 시 발생하는 코드 인젝션 결함과 결합하여 PostgreSQL 데이터베이스의 버전, 스키마 및 임의의 데이터를 탈취할 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 공격자가 데이터베이스 명령어를 조작하여 중요한 정보를 빼낼 수 있는 보안 약점입니다. 특히 백업 기능을 악용하면 데이터베이스의 모든 내용을 몰래 읽어갈 수 있어 위험합니다.
🇺🇸 원문 (English)
baserCMS before 5.3.0 contains a SQL injection vulnerability in BcDatabaseService.php that allows authenticated administrators to inject attacker-controlled table names and configuration values directly into SQL statements across sequence update, CSV export, and table management operations. Attackers can chain a backup restore code injection flaw, where PHP code outside class definitions in schema files executes unconditionally upon loading, to plant malicious table names and trigger error-based SQL injection that retrieves database version, schema contents, and arbitrary data from the PostgreSQL backend.
📍 영향받는 시스템
baserCMS 5.3.0 미만 모든 버전
⚔️ 공격 벡터
인증된 관리자 권한을 이용한 SQL 인젝션 및 백업 복구 코드 인젝션 결합 공격
🛡️ 대응 방법
baserCMS를 최신 보안 패치가 적용된 5.3.0 이상의 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 5.3.0 미만인 경우 해당 취약점에 노출된 상태입니다.
composer show basercms/basercms | grep 'versions'