🇰🇷 한글 설명
WordPress의 Newsletters Lite 플러그인 4.15 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. post_thumbnail 및 newsletters_post_thumbnail 숏코드의 'link' 속성에 대한 입력값 검증 및 출력 이스케이프 처리가 미흡하여 발생합니다. 이를 통해 기여자(Contributor) 이상의 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
플러그인의 특정 기능을 사용할 때 링크 주소를 제대로 검사하지 않아 발생하는 보안 문제입니다. 권한이 있는 사용자가 게시물에 몰래 악성 코드를 심어두면, 다른 사용자가 해당 페이지를 볼 때 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
The Newsletters Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' attribute of the post_thumbnail (and newsletters_post_thumbnail) shortcodes in versions up to and including 4.15. This is due to insufficient input sanitization and output escaping in the post_thumbnail() method in helpers/shortcode.php, which concatenates the user-controlled $link shortcode attribute directly into an href attribute without esc_url() or esc_attr(). 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 Newsletters Lite plugin versions up to and including 4.15
⚔️ 공격 벡터
기여자 이상의 권한을 가진 공격자가 숏코드의 'link' 속성에 악성 스크립트를 포함하여 게시물을 작성
🛡️ 대응 방법
Newsletters Lite 플러그인을 최신 버전으로 업데이트하거나, 해당 숏코드 사용 시 입력값 검증 로직을 적용
🔧 검증 코드
출력된 결과에서 플러그인 버전이 4.15 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name=newsletters-lite --format=csv | grep -E 'newsletters-lite'