🇰🇷 한글 설명
OpenCATS commit 3002a29 이전 버전의 설치 마법사 AJAX 엔드포인트에 PHP 코드 주입 취약점이 존재하여, 인증되지 않은 공격자가 databaseConnectivity 액션 파라미터를 통해 임의 PHP 코드를 실행할 수 있습니다. 공격자는 따옴표와 문장 구분자를 이용해 config.php의 define() 함수를 벗어나 악의적 코드를 주입하며, 설치 미완료 상태에서 이후 모든 페이지 로드 시마다 실행됩니다.
💡 쉬운 설명
OpenCATS 웹 설치 페이지에서 로그인 없이 해킹 코드를 심을 수 있는 결함입니다. 한 번 악의적인 코드가 설치되면 웹사이트 방문 시마다 계속 실행됩니다.
🇺🇸 원문 (English)
OpenCATS prior to commit 3002a29 contains a PHP code injection vulnerability in the installer AJAX endpoint that allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.
📍 영향받는 시스템
OpenCATS prior to commit 3002a29
⚔️ 공격 벡터
Unauthenticated attacker injects PHP code via databaseConnectivity parameter in installer AJAX endpoint without authentication
🛡️ 대응 방법
Update OpenCATS to commit 3002a29 or later and immediately complete the installation wizard setup
🔧 검증 코드
OpenCATS config.php 파일이 발견되면 git commit 버전이 3002a29 이후인지 확인하고 설치 마법사 완료 상태를 검증하십시오.
test -f /var/www/html/opencats/includes/config.php && echo 'Verify commit 3002a29' || echo 'Not found'