🇰🇷 한글 설명
WordPress용 LearnPress – LMS 플러그인 4.3.3 이하 버전에서 'skin' 속성을 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
게시글 작성 권한이 있는 사용자가 특정 설정값에 몰래 악성 코드를 심어둘 수 있는 보안 약점입니다. 이 코드가 포함된 페이지를 다른 사용자가 방문하면 공격자가 의도한 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'skin' attribute of the learn_press_courses shortcode in all versions up to and including 4.3.3. This is due to insufficient input sanitization and output escaping on the 'skin' shortcode attribute. The attribute value is used directly in an sprintf() call that generates HTML (class attribute and data-layout attribute) without any esc_attr() escaping. 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.
📍 영향받는 시스템
LearnPress – WordPress LMS Plugin (버전 4.3.3 및 그 이하 모든 버전)
⚔️ 공격 벡터
Contributor 이상의 권한을 가진 공격자가 learn_press_courses 숏코드의 'skin' 속성에 악성 스크립트를 삽입
🛡️ 대응 방법
LearnPress 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 LearnPress 플러그인의 현재 설치 버전을 확인하여 4.3.3 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'learnpress'