🇰🇷 한글 설명
PhpWebGallery 1.3.4의 init.inc.php와 isadmin.inc.php에서 user[language]와 user[template] 파라미터에 대한 부적절한 입력 검증으로 인해 발생하는 디렉토리 트래버설 취약점입니다. 원격 공격자는 ../ 형태의 경로 조작을 통해 임의의 로컬 파일을 포함(LFI)하여 실행할 수 있습니다.
💡 쉬운 설명
웹 갤러리 소프트웨어에서 언어와 템플릿 설정에 '../' 같은 경로를 입력해 서버의 다른 파일에 접근할 수 있는 보안 결함입니다. 해커가 서버 내부의 민감한 파일을 읽거나 실행시킬 수 있습니다.
🇺🇸 원문 (English)
Multiple directory traversal vulnerabilities in PhpWebGallery 1.3.4 allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the (1) user[language] and (2) user[template] parameters to (a) init.inc.php, and (b) the user[language] parameter to isadmin.inc.php.
📍 영향받는 시스템
PhpWebGallery 1.3.4 및 이전 버전
⚔️ 공격 벡터
HTTP GET/POST 요청으로 user[language] 또는 user[template] 파라미터에 디렉토리 트래버설 시퀀스(../)를 삽입
🛡️ 대응 방법
PhpWebGallery를 최신 버전으로 업그레이드하거나 입력 검증 패치를 적용하여 ../ 등의 경로 조작 문자를 필터링
🔧 검증 코드
PhpWebGallery 설치 경로가 발견되면 해당 버전을 확인하고, 1.3.4 이하인 경우 취약점 존재; 결과가 없으면 시스템에 설치되지 않음
find / -name '*phpwebgallery*' -o -name 'init.inc.php' 2>/dev/null | head -20