🇰🇷 한글 설명
GLPI Database Inventory Plugin에서 다른 취약점으로 인한 데이터베이스 쓰기 권한 획득 후, 사용자 입력이 unsafe하게 저장되고 페이지 로드 시 역직렬화됩니다. 이를 통해 공격자가 임의의 PHP 객체를 생성하여 원격 코드 실행이 가능합니다.
💡 쉬운 설명
GLPI 플러그인이 저장된 데이터를 안전하지 않은 방식으로 처리하여 악성 코드가 실행될 수 있습니다. 1.1.2 버전 이상으로 업그레이드하면 해결됩니다.
🇺🇸 원문 (English)
pluginsGLPI's Database Inventory Plugin "manages" the Teclib' inventory agents in order to perform an inventory of the databases present on the workstation. Prior to version 1.1.2, in certain conditions (database write access must first be obtained through another vulnerability or misconfiguration), user-controlled data is stored insecurely in the database via computergroup, and is later unserialized on every page load, allowing arbitrary PHP object instantiation. Version 1.1.2 fixes the issue.
📍 영향받는 시스템
pluginsGLPI Database Inventory Plugin 1.1.1 이하 버전
⚔️ 공격 벡터
데이터베이스 쓰기 권한 획득 후 computergroup을 통해 PHP 객체 역직렬화 페이로드 주입
🛡️ 대응 방법
Database Inventory Plugin을 1.1.2 버전 이상으로 업그레이드
🔧 검증 코드
1.1.2 미만의 버전이 표시되면 취약하며, 1.1.2 이상이면 안전한 상태입니다.
grep -E "PLUGIN_DATABASEINVENTORY_VERSION|'version'|\"version\"" /var/www/glpi/plugins/databaseinventory/setup.php 2>/dev/null