🇰🇷 한글 설명
The Ultimate Before After Image Slider & Gallery WordPress 플러그인 4.7.1 미만 버전에서 BEAF Slider 위젯의 숏코드 필드 값이 적절히 이스케이프되지 않는 취약점이 발견되었습니다. 관리자 권한을 가진 사용자가 악성 스크립트를 저장할 경우, 해당 위젯이 포함된 페이지를 방문하는 모든 사용자의 브라우저에서 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 사람이 웹사이트의 특정 설정 칸에 악성 코드를 몰래 심을 수 있는 문제입니다. 이 코드가 심어진 페이지를 일반 방문자가 열면, 방문자의 브라우저에서 해킹 코드가 자동으로 실행됩니다.
🇺🇸 원문 (English)
The Ultimate Before After Image Slider & Gallery WordPress plugin before 4.7.1 does not escape the value of the BEAF Slider widget's shortcode field before outputting it on the front end (the value is passed through do_shortcode, which echoes non-shortcode content verbatim), allowing users with administrator-level access to store a script that executes in the browser of any visitor who loads a page displaying the widget.
📍 영향받는 시스템
The Ultimate Before After Image Slider & Gallery WordPress plugin version < 4.7.1
⚔️ 공격 벡터
관리자 권한을 이용한 숏코드 필드 내 악성 스크립트 삽입 (Stored XSS)
🛡️ 대응 방법
해당 플러그인을 최신 버전인 4.7.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 4.7.1보다 낮으면 취약한 상태입니다.
wp plugin list --status=active | grep -i 'ultimate-before-after-image-slider' && wp plugin list --format=json | jq '.[] | select(.name=="ultimate-before-after-image-slider") | .version'