🇰🇷 한글 설명
WordPress 포토 갤러리 플러그인의 PHP 객체 인젝션 취약점으로, 숏코드의 'awl_lg_settings_' 속성을 통해 신뢰할 수 없는 데이터가 역직렬화되어 발생합니다. 기여자 이상의 권한을 가진 인증된 공격자가 악의적인 객체를 주입할 수 있으며, 다른 취약한 플러그인/테마가 설치된 경우 파일 삭제, 데이터 유출, 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
WordPress 사진 갤러리 플러그인에서 기여자 이상의 권한이 있는 사람이 악의적인 코드를 주입할 수 있는 보안 구멍입니다. 다른 취약한 플러그인과 함께 사용하면 해커가 서버를 장악할 수 있습니다.
🇺🇸 원문 (English)
The Photo Gallery – Responsive Photo Gallery, Image Gallery, Portfolio Gallery, Logo Gallery And Team Gallery plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.4.2 via deserialization via shortcode of untrusted input from the 'awl_lg_settings_' attribute. This makes it possible for authenticated attackers, with contributor access and above, to inject a PHP Object. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.
📍 영향받는 시스템
Photo Gallery 플러그인 버전 1.4.2 이하 (WordPress)
⚔️ 공격 벡터
인증된 사용자가 shortcode 속성 'awl_lg_settings_'에 직렬화된 PHP 객체를 삽입하여 역직렬화 공격 수행
🛡️ 대응 방법
플러그인을 1.4.3 이상으로 업데이트하거나 플러그인 비활성화/삭제
🔧 검증 코드
플러그인이 설치되었고 버전이 1.4.2 이하이면 취약한 상태; 1.4.3 이상이면 안전함
ls /var/www/html/wp-content/plugins/ 2>/dev/null | grep -i photo && find /var/www/html/wp-content/plugins -name readme.txt -exec grep -l 'Photo Gallery' {} \; 2>/dev/null | xargs grep 'Stable tag:' | grep -E '1\.[0-4]\.[0-2]'