🇰🇷 한글 설명
WordPress용 Modula Image Gallery 플러그인 3.0.1 이하 버전에서 비인가된 갤러리 콘텐츠 노출 취약점이 발견되었습니다. Modula_Meta::add_metas() 함수가 권한 검증 없이 모든 프론트엔드 요청에서 갤러리 ID를 조회하여, 공격자가 비공개 갤러리의 이미지 제목, 설명 및 원본 URL을 탈취할 수 있습니다.
💡 쉬운 설명
비공개로 설정된 사진첩의 ID 번호만 알면 누구나 그 안에 담긴 사진과 정보를 몰래 볼 수 있는 보안 구멍이 있습니다. 공격자는 이 취약점을 이용해 권한이 없는 상태에서도 비공개 이미지를 직접 다운로드할 수 있습니다.
🇺🇸 원문 (English)
The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to unauthorized disclosure of private gallery contents in versions up to, and including, 3.0.1. This is due to the Modula_Meta::add_metas() function being hooked to wp_head on every frontend request and looking up any post via get_post( $_GET['modula_gallery_id'] ) without verifying the gallery's post_status or the requester's capability to read it — the gallery-side input guard is bugged (empty('modula_gallery_id') tests a nonempty string literal instead of the GET parameter, so it is always false), the only object validation is a post_type === 'modula-gallery' check, and no is_user_logged_in()/current_user_can('read_post', $gallery_id) check is performed. This makes it possible for unauthenticated attackers to enumerate private modula-gallery posts and their member attachments and recover the image's title, description, dimensions, and original upload URL via Open Graph/Twitter meta tags emitted in the response, which then allows direct unauthenticated download of the original private image bytes.
📍 영향받는 시스템
WordPress Modula Image Gallery – Photo Grid & Video Gallery plugin (버전 3.0.1 및 그 이하)
⚔️ 공격 벡터
조작된 modula_gallery_id 파라미터를 포함한 HTTP GET 요청을 통해 비공개 갤러리 정보 탈취
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증 로직이 포함된 보안 패치를 적용하십시오.
🔧 검증 코드
플러그인 목록에서 Modula가 있는지 확인한 후, 관리자 페이지에서 현재 설치된 버전이 3.0.1 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'modula' && echo 'Check version manually via plugin dashboard'