🇰🇷 한글 설명
WordPress용 WP AD Gallery 플러그인의 모든 버전(1.3 포함)에서 'startindex' 매개변수를 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 기여자(Contributor) 이상의 권한을 가진 인증된 공격자가 악성 스크립트를 삽입할 수 있습니다. 삽입된 스크립트는 해당 페이지를 방문하는 모든 사용자의 브라우저에서 실행됩니다.
💡 쉬운 설명
웹사이트 게시물에 몰래 악성 코드를 심어두는 취약점입니다. 권한이 있는 사용자가 이 코드를 심으면, 일반 방문자가 해당 페이지를 볼 때 개인정보가 탈취되거나 원치 않는 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The WP AD Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'startindex' parameter of the ad-gallery shortcode in all versions up to, and including, 1.3. This is due to insufficient input sanitization and output 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.
📍 영향받는 시스템
WP AD Gallery plugin for WordPress (버전 1.3 및 그 이하 모든 버전)
⚔️ 공격 벡터
ad-gallery 숏코드의 'startindex' 매개변수에 악성 스크립트를 삽입하여 저장하는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 해당 숏코드 사용 시 입력값 검증 로직을 강화해야 합니다.
🔧 검증 코드
명령어 결과에 버전이 1.3 이하로 표시되면 취약한 버전이 설치된 상태입니다.
wp plugin list --name wp-ad-gallery --format=json | grep -E '"version":"[0-1]\.[0-3]"'