🇰🇷 한글 설명
WPBeginner의 'Last Viewed Posts' WordPress 플러그인은 LastViewedPosts 쿠키에서 신뢰할 수 없는 입력을 역직렬화하는 PHP Object Injection 취약점을 가지고 있습니다. 인증되지 않은 공격자가 PHP 객체를 주입할 수 있으며, 추가 플러그인이나 테마에 POP 체인이 있으면 파일 삭제, 민감 정보 유출, 코드 실행이 가능합니다.
💡 쉬운 설명
WordPress 플러그인이 사용자 쿠키를 제대로 검증하지 않아 악의적인 데이터를 주입받을 수 있습니다. 다른 취약한 코드와 결합되면 웹사이트 전체가 해킹될 수 있습니다.
🇺🇸 원문 (English)
The Last Viewed Posts by WPBeginner plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.0.0 via deserialization of untrusted input from the LastViewedPosts Cookie. This makes it possible for unauthenticated attackers to inject a PHP Object. No known 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.
📍 영향받는 시스템
WPBeginner Last Viewed Posts 플러그인 1.0.0 이하 모든 버전
⚔️ 공격 벡터
LastViewedPosts 쿠키에 악의적으로 조작된 직렬화된 PHP 객체를 주입하여 역직렬화 공격 실행
🛡️ 대응 방법
플러그인을 최신 패치 버전으로 업데이트하거나 필요 없으면 제거
🔧 검증 코드
명령어에서 플러그인 경로가 출력되면 취약한 플러그인이 설치되어 있으며, 출력이 없으면 설치되지 않았거나 다른 경로에 있습니다.
find /var/www/html/wp-content/plugins -iname '*last*viewed*' -o -iname '*lastviewed*' 2>/dev/null | head -1