🇰🇷 한글 설명
PhpGedView 4.2.3 및 다른 버전의 module.php에 존재하는 디렉토리 트래버설 취약점으로, magic_quotes_gpc 비활성화 상태에서 pgvaction 매개변수를 조작하면 원격 공격자가 서버의 임의 파일을 읽을 수 있습니다.
💡 쉬운 설명
PhpGedView에서 사용자 입력을 제대로 검증하지 않아 '../' 같은 경로 조작으로 접근 제한된 파일을 읽을 수 있습니다. 이를 통해 데이터베이스 설정, 사용자 정보 등 민감한 정보가 유출될 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in module.php in PhpGedView 4.2.3 and possibly other versions, when magic_quotes_gpc is disabled, allows remote attackers to read arbitrary files via directory traversal sequences in the pgvaction parameter.
📍 영향받는 시스템
PhpGedView 4.2.3 및 이전 버전 (magic_quotes_gpc 비활성화 환경)
⚔️ 공격 벡터
HTTP GET/POST 요청의 pgvaction 매개변수에 '../' 시퀀스를 포함시켜 디렉토리 트래버설 수행
🛡️ 대응 방법
PhpGedView를 최신 버전으로 업데이트하거나 입력 검증 패치 적용, 가능하면 magic_quotes_gpc 활성화
🔧 검증 코드
passwd 파일 내용 또는 에러가 표시되면 취약점 확인; 접근 거부 또는 파일 내용 미표시 시 보호됨
curl -s 'http://target/module.php?pgvaction=../../../../../../etc/passwd' | head -5