🇰🇷 한글 설명
PHPSlideShow 0.9.9.2 이하 버전의 phpslideshow.php에서 directory 매개변수를 통한 XSS 취약점이 존재합니다. 공격자는 폴더 경로 입력 부분에 악의적 JavaScript를 주입하여 사용자 브라우저에서 임의의 스크립트를 실행시킬 수 있습니다.
💡 쉬운 설명
웹 앨범 표시 프로그램의 폴더 선택 기능에서 악의적인 코드를 삽입할 수 있는 보안 허점입니다. 이를 통해 방문자들의 컴퓨터에서 몰래 나쁜 코드를 실행하게 만들 수 있습니다.
🇺🇸 원문 (English)
Cross-site scripting (XSS) vulnerability in phpslideshow.php in PHPSlideShow 0.9.9.2, and possibly earlier, allows remote attackers to inject arbitrary web script or HTML via the directory parameter. NOTE: this issue was originally reported for toonchapter8.php, but this is probably a site-specific name, since the PHPSlideShow distribution does not contain that file.
📍 영향받는 시스템
PHPSlideShow 버전 0.9.9.2 이하
⚔️ 공격 벡터
directory 매개변수에 <script> 태그나 event handler를 포함한 HTML을 주입하여 브라우저에서 실행
🛡️ 대응 방법
PHPSlideShow를 최신 버전으로 업데이트하거나 directory 파라미터 입력값을 htmlspecialchars()로 인코딩 처리
🔧 검증 코드
phpslideshow.php 파일 위치를 찾아 directory 매개변수 처리 코드 존재 여부와 버전정보(파일 내 버전 변수/상수)를 확인
find /var/www /home /opt -name 'phpslideshow.php' 2>/dev/null | xargs grep -l 'directory' 2>/dev/null