🇰🇷 한글 설명
WordPress Gallery by BestWebSoft 플러그인의 import_gallery_from_csv 함수에서 신뢰할 수 없는 입력의 역직렬화로 인한 PHP 객체 주입 취약점입니다. 관리자 권한 이상의 인증된 공격자가 PHP 객체를 주입할 수 있으며, POP 체인이 존재할 경우 파일 삭제, 민감 정보 탈취, 코드 실행 등이 가능합니다.
💡 쉬운 설명
WordPress의 이미지 갤러리 플러그인에 보안 결함이 있어서 관리자 권한을 가진 공격자가 악성 코드를 주입할 수 있습니다. 다른 플러그인과 조합되면 파일 삭제나 정보 탈취 공격으로 이어질 수 있습니다.
🇺🇸 원문 (English)
The Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.7.3 via deserialization of untrusted input in the 'import_gallery_from_csv' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.
📍 영향받는 시스템
WordPress Gallery by BestWebSoft plugin 버전 4.7.3 이하 모든 버전
⚔️ 공격 벡터
관리자 권한 인증 필요. CSV 갤러리 임포트 기능을 통해 직렬화된 PHP 객체 주입
🛡️ 대응 방법
플러그인을 4.7.4 이상 버전으로 즉시 업데이트
🔧 검증 코드
플러그인 디렉토리가 출력되고 버전이 4.7.3 이하면 취약. 플러그인이 없으면 영향 없음.
find wp-content/plugins -name gallery* -type d 2>/dev/null | head -1 | xargs -I {} grep -r 'Version.*4\.7\.[0-3]' {}