🇰🇷 한글 설명
Vasion Print(구 PrinterLogic)의 가상 어플라이언스 및 애플리케이션 버전에서 인증 없이 실행 가능한 위험한 PHP 데드 코드가 발견되었습니다. /var/www/app/resetroot.php 스크립트를 통해 데이터베이스 관리자 계정을 탈취할 수 있으며, 역직렬화 취약점과 결합될 경우 원격 코드 실행(RCE)으로 이어질 수 있습니다.
💡 쉬운 설명
해커가 아무런 로그인 없이 특정 파일을 실행하여 관리자 비밀번호를 강제로 바꿀 수 있는 보안 결함입니다. 이를 통해 시스템 전체의 제어권을 빼앗거나 악성 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
Vasion Print (formerly PrinterLogic) Virtual Appliance Host versions prior to 22.0.843 and Application prior to 20.0.1923 (VA and SaaS deployments) contains dangerous PHP dead code present in multiple Docker-hosted PHP instances. A script named /var/www/app/resetroot.php (found in several containers) lacks authentication checks and, when executed, performs a SQL update that sets the database administrator username to 'root' and its password hash to the SHA-512 hash of the string 'password'. Separately, commented-out code in /var/www/app/lib/common/oses.php would unserialize session data (unserialize($_SESSION['osdata']))—a pattern that can enable remote code execution if re-enabled or reached with attacker-controlled serialized data. An attacker able to reach the resetroot.php endpoint can trivially reset the MySQL root password and obtain full database control; combined with deserialization issues this can lead to full remote code execution and system compromise. This vulnerability has been identified by the vendor as: V-2023-003 — Dead / Insecure PHP Code.
📍 영향받는 시스템
Vasion Print Virtual Appliance Host < 22.0.843 및 Application < 20.0.1923
⚔️ 공격 벡터
인증 없이 접근 가능한 PHP 스크립트(/var/www/app/resetroot.php) 호출을 통한 데이터베이스 및 시스템 권한 탈취
🛡️ 대응 방법
Vasion Print를 최신 보안 패치가 적용된 버전(VA 22.0.843 이상, App 20.0.1923 이상)으로 즉시 업데이트하십시오.
🔧 검증 코드
해당 URL 호출 시 HTTP 200 응답이 오면 취약한 스크립트가 노출되어 있는 상태입니다.
curl -s -I http://<TARGET_IP>/var/www/app/resetroot.php | grep -E 'HTTP/1.1 200 OK'