🇰🇷 한글 설명
WordPress의 DeMomentSomTres Shortcodes 플러그인 1.1.1 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 'callout' 숏코드의 'width' 및 'align' 속성에 대한 입력값 검증 및 출력 이스케이프가 미흡하여, 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
게시글 작성 권한이 있는 사용자가 글 안에 몰래 악성 코드를 심어둘 수 있는 보안 약점입니다. 이 코드가 포함된 페이지를 다른 사용자가 방문하면 사용자의 브라우저에서 악성 스크립트가 실행될 수 있습니다.
🇺🇸 원문 (English)
The DeMomentSomTres Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'callout' shortcode in all versions up to, and including, 1.1.1. This is due to insufficient input sanitization and output escaping on the 'width' and 'align' shortcode attributes within the st_callout() function, which concatenates the attribute values directly into an HTML style attribute. 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.
📍 영향받는 시스템
DeMomentSomTres Shortcodes plugin for WordPress (버전 1.1.1 및 그 이하 모든 버전)
⚔️ 공격 벡터
기여가(Contributor) 이상의 권한을 가진 공격자가 'callout' 숏코드의 속성값에 악성 스크립트를 주입하여 저장
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 적절한 산출물 이스케이프 처리가 포함된 패치를 적용하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나고 버전이 1.1.1 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'de-moment-som-tres-shortcodes'