🇰🇷 한글 설명
phpInstantGallery 2.0의 index.php와 image.php에서 gallery 매개변수, image.php의 imgnum 매개변수를 통한 크로스사이트스크립팅(XSS) 취약점입니다. 원격 공격자가 임의의 웹 스크립트나 HTML을 주입하여 사용자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
오래된 사진 갤러리 프로그램에서 특정 주소에 악성 코드를 심을 수 있는 문제입니다. 이를 통해 다른 사용자들의 개인정보나 쿠키를 탈취할 수 있습니다.
🇺🇸 원문 (English)
Multiple cross-site scripting (XSS) vulnerabilities in Isaac McGowan phpInstantGallery 2.0 allow remote attackers to inject arbitrary web script or HTML via the (1) gallery parameter to (a) index.php and (b) image.php, and the (2) imgnum parameter to image.php. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
phpInstantGallery 2.0
⚔️ 공격 벡터
HTTP GET/POST 요청을 통해 gallery 또는 imgnum 매개변수에 XSS 페이로드를 전송
🛡️ 대응 방법
phpInstantGallery를 최신 버전으로 업그레이드하거나 패치 적용, 입력값 검증 및 HTML 인코딩 구현
🔧 검증 코드
검색 결과에서 phpInstantGallery 디렉토리가 나타나면 설치된 상태이며, 디렉토리 내 버전 정보를 확인하여 2.0인지 검증합니다.
find / -path '*/phpInstantGallery*' -type d 2>/dev/null | head -5