🇰🇷 한글 설명
WordPress용 NextGEN Gallery 플러그인 4.2.0 이하 버전에서 부적절한 객체 수준 권한 부여로 인한 IDOR 취약점이 발견되었습니다. 공격자는 특정 권한을 가진 상태에서 다른 사용자의 갤러리 이미지를 삭제하고, 설정에 따라 디스크의 이미지 파일까지 제거할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 권한을 악용하여 다른 사람이 올린 사진을 마음대로 삭제할 수 있는 보안 결함입니다. 이로 인해 다른 사용자의 소중한 사진 데이터가 손실될 위험이 있습니다.
🇺🇸 원문 (English)
The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 4.2.0. This is due to insufficient object-level authorization in the image deletion REST flow where the permission callback for DELETE /imagely/v1/images/{id} only checks 'NextGEN Manage gallery' permissions and does not enforce gallery ownership or 'NextGEN Manage others gallery' permissions. This makes it possible for authenticated attackers, with Subscriber-level privileges and 'NextGEN Manage gallery' capability, to delete gallery images belonging to other users as well as their associated image files from disk when deleteImg is enabled (default).
📍 영향받는 시스템
WordPress NextGEN Gallery plugin versions up to and including 4.2.0
⚔️ 공격 벡터
인증된 공격자가 REST API의 이미지 삭제 엔드포인트에 다른 사용자의 이미지 ID를 전달하여 공격
🛡️ 대응 방법
NextGEN Gallery 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 NextGEN Gallery의 버전을 확인하여 4.2.0 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'nextgen-gallery'