🇰🇷 한글 설명
WordPress의 Bg Book Publisher 플러그인 1.25 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. `[book_author]` 쇼트코드가 `book_author` 포스트 메타 값을 출력할 때 적절한 이스케이프 처리를 하지 않아 발생합니다. 이를 통해 기여자(Contributor) 이상의 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
글 작성 권한이 있는 사용자가 게시물에 몰래 악성 코드를 심어둘 수 있는 보안 약점입니다. 이 코드가 포함된 페이지를 다른 사용자가 방문하면 공격자가 의도한 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The Bg Book Publisher plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `book_author` post meta, rendered through the `[book_author]` shortcode, in all versions up to, and including, 1.25. This is due to the plugin not properly escaping the meta value before output. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
📍 영향받는 시스템
WordPress Bg Book Publisher plugin (버전 1.25 및 그 이하 모든 버전)
⚔️ 공격 벡터
기여자 이상의 권한을 가진 공격자가 `book_author` 메타 데이터에 악성 스크립트를 삽입하여 저장함
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 출력 이스케이프 처리가 적용된 패치를 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 Bg Book Publisher 플러그인의 현재 설치 버전이 1.25 이하인지 확인합니다.
wp plugin list --status=active | grep 'bg-book-publisher' && wp plugin list --all | grep 'bg-book-publisher'