🇰🇷 한글 설명
Grav Shortcode Core 플러그인에서 발생하는 저장형 교차 사이트 스크립팅(XSS) 취약점입니다. admin.pages 권한을 가진 사용자가 특수하게 조작된 속성 값을 입력하면, 보안 필터를 우회하여 악성 스크립트를 실행할 수 있습니다. 이 문제는 버전 6.2.2에서 수정되었습니다.
💡 쉬운 설명
관리자 권한을 가진 사람이 웹페이지에 몰래 악성 코드를 심을 수 있는 보안 약점입니다. 이 코드가 실행되면 해당 페이지를 방문하는 다른 사용자들의 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
Grav Shortcode Core Plugin allows for the development shortcode plugins that utilize the common format utilized by WordPress and BBCode. Prior to 6.2.2, Grav Shortcode Core passes shortcode syntax through Security::detectXss() because it contains no literal less-than character, then ColorShortcode.php and related attribute handlers concatenate an attacker-controlled parameter into HTML without encoding. An account with admin.pages permission can close the generated attribute and add an event handler, creating stored cross-site scripting that executes for visitors or administrators who view the page. This issue is fixed in version 6.2.2.
📍 영향받는 시스템
Grav Shortcode Core Plugin (6.2.2 미만 버전)
⚔️ 공격 벡터
admin.pages 권한을 이용해 조작된 shortcode 속성을 입력하여 HTML 이벤트 핸들러를 삽입하는 방식
🛡️ 대응 방법
Grav Shortcode Core 플러그인을 최신 버전인 6.2.2 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 정보의 버전이 6.2.2보다 낮은지 확인하십시오.
grep -r "Shortcode Core" /path/to/grav/plugins/ | grep -E 'version|6'