🇰🇷 한글 설명
PHPGedView 3.3.7 이전 버전의 login.php와 login_register.php에서 사용자 입력이 적절히 필터링되지 않아 authenticate.php에 직접 삽입되는 취약점입니다. 원격 공격자가 username, user_language, user_email, user_gedcomid 필드에 PHP 코드를 주입하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
PHPGedView 웹 프로그램의 로그인 페이지에서 사용자 입력값이 검증 없이 그대로 코드에 삽입되는 결함입니다. 공격자가 악의적인 코드를 입력하면 서버가 이를 그대로 실행합니다.
🇺🇸 원문 (English)
Multiple direct static code injection vulnerabilities in PHPGedView 3.3.7 and earlier allow remote attackers to execute arbitrary PHP code via (1) the username field in login.php, or the (2) user_language, (3) user_email, and (4) user_gedcomid parameters in login_register.php, which is directly inserted into authenticate.php.
📍 영향받는 시스템
PHPGedView 3.3.7 이전 버전
⚔️ 공격 벡터
로그인 또는 회원가입 페이지의 사용자명, 언어, 이메일, GEDCOM ID 필드에 PHP 코드 주입
🛡️ 대응 방법
PHPGedView를 3.3.8 이상으로 업데이트하거나 모든 사용자 입력에 대한 필터링 및 이스케이핑 적용
🔧 검증 코드
결과에서 3.3.7 이하의 버전이 표시되면 취약한 상태입니다.
find /var/www/html -name "version.php" -o -name "config.php" 2>/dev/null | xargs grep -l "PHPGedView\|VERSION" 2>/dev/null | xargs grep -E "3\.[0-3]\.[0-7]"