🇰🇷 한글 설명
WordPress의 Image Gallery – Photo Grid & Video Gallery 플러그인 2.13.3 이하 버전에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. modula_list_folders AJAX 엔드포인트가 경로 검증 및 기본 디렉토리 제한을 수행하지 않아, 권한이 있는 공격자가 서버의 임의 디렉토리를 열람할 수 있습니다.
💡 쉬운 설명
플러그인의 보안 허점으로 인해, 글을 쓸 권한이 있는 사용자가 서버 내부의 숨겨진 폴더들을 마음대로 들여다볼 수 있는 문제입니다. 이는 서버 내의 민감한 파일 정보가 유출될 위험을 초래합니다.
🇺🇸 원문 (English)
The Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.13.3. This is due to the modula_list_folders AJAX endpoint that lacks proper path validation and base directory restrictions. While the endpoint verifies user capabilities (Author+ with upload_files and edit_posts permissions), it fails to validate that user-supplied directory paths reside within safe directories. This makes it possible for authenticated attackers, with Author-level access and above, to enumerate arbitrary directories on the server via the modula_list_folders endpoint.
📍 영향받는 시스템
Image Gallery – Photo Grid & Video Gallery plugin (v2.13.3 이하 모든 버전)
⚔️ 공격 벡터
인증된 공격자(Author 권한 이상)가 modula_list_folders AJAX 엔드포인트에 조작된 경로를 전달하여 공격
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, 권한이 낮은 사용자의 파일 업로드 및 게시물 편집 권한을 제한하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면, 워드프레스 관리자 페이지에서 설치된 버전이 2.13.3 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'image-gallery' && echo 'Check version manually via plugin dashboard'