🇰🇷 한글 설명
Vvveb 1.0.8.1 이전 버전의 설치 엔드포인트에서 subdir POST 매개변수가 검증 없이 env.php 파일에 직접 기록되는 취약점이 존재합니다. 공격자는 PHP define 문의 문자열 컨텍스트를 벗어나 임의의 PHP 코드를 주입하여 웹 서버 사용자 권한으로 원격 코드 실행을 달성할 수 있습니다.
💡 쉬운 설명
Vvveb 설치 프로그램이 사용자 입력을 제대로 검사하지 않아 악의적인 코드를 주입할 수 있습니다. 공격자는 이를 이용해 서버에서 원하는 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
Vvveb prior to 1.0.8.1 contains a code injection vulnerability in the installation endpoint where the subdir POST parameter is written unsanitized into the env.php configuration file without escaping or validation. Attackers can inject arbitrary PHP code by breaking out of the string context in the define statement to achieve unauthenticated remote code execution as the web server user.
📍 영향받는 시스템
Vvveb < 1.0.8.1
⚔️ 공격 벡터
설치 엔드포인트의 subdir POST 매개변수에 PHP 코드 주입으로 unauthenticated RCE 달성
🛡️ 대응 방법
Vvveb을 1.0.8.1 이상으로 업그레이드
🔧 검증 코드
env.php 파일이 발견되면 Vvveb이 설치된 것입니다. 파일의 버전 정보를 확인하여 1.0.8.1 미만인지 검증하세요.
find /var/www -name 'env.php' 2>/dev/null | xargs grep -l 'VERSION\|define' 2>/dev/null | head -1