🇰🇷 한글 설명
WordPress용 Blog-in-Blog 플러그인 2.0.0 이하 버전에서 쇼트코드 속성을 통한 로컬 파일 인클루전(LFI) 취약점이 존재합니다. 편집자(editor) 이상의 권한을 가진 공격자가 서버의 임의 파일을 포함·실행할 수 있으며, 이를 통해 접근 제어 우회, 민감 데이터 탈취, 코드 실행이 가능합니다.
💡 쉬운 설명
워드프레스 블로그 플러그인에 허점이 있어 편집자 계정을 가진 사람이 서버 내부 파일을 강제로 실행시킬 수 있습니다. 업로드된 이미지 파일 안에 악성 코드를 숨겨 실행하는 방식으로 서버를 장악할 수 있습니다.
🇺🇸 원문 (English)
The Blog-in-Blog plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 2.0.0 via a shortcode attribute. This allows editor-level, and above, attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
📍 영향받는 시스템
WordPress Blog-in-Blog 플러그인 버전 2.0.0 이하
⚔️ 공격 벡터
편집자 이상 권한으로 로그인 후 쇼트코드 속성에 경로 조작(path traversal) 값을 삽입하여 서버 내 임의 PHP 파일 실행
🛡️ 대응 방법
Blog-in-Blog 플러그인을 2.0.0 이상 패치 버전으로 업데이트하거나, 해당 플러그인을 비활성화 및 삭제 후 대안 플러그인 사용
🔧 검증 코드
출력된 버전이 2.0.0 이하이면 취약하며, 플러그인이 없거나 비활성화(inactive) 상태이면 영향 없음
wp plugin list --name=blog-in-blog --fields=name,version,status 2>/dev/null || find /var/www -path '*/plugins/blog-in-blog/blog-in-blog.php' -exec grep -m1 'Version:' {} \;