🇰🇷 한글 설명
WordPress의 Post Grid Gutenberg Blocks – PostX 플러그인 5.1.0 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 사용자 이름(display_name) 필드에 대한 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 공격자가 악성 스크립트를 삽입할 수 있습니다. 이를 통해 사용자가 해당 페이지에 접속할 때 임의의 웹 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
플러그인의 이름 설정 기능에 보안 허점이 있어, 악성 코드가 포함된 이름을 저장할 수 있습니다. 누군가 그 이름을 사용하는 페이지를 방문하면 공격자가 심어놓은 나쁜 프로그램이 자동으로 실행될 수 있습니다.
🇺🇸 원문 (English)
The Post Grid Gutenberg Blocks – PostX plugin for WordPress is vulnerable to Stored Cross-Site Scripting via display_name User Field in all versions up to, and including, 5.1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core's pre_user_display_name filter encodes &, <, and > but leaves double-quotes intact (ENT_NOQUOTES), allowing a Subscriber-level user to store a double-quote in their display_name via /wp-admin/profile.php that subsequently breaks out of the alt="" attribute at Archive_Title.php:144.
📍 영향받는 시스템
Post Grid Gutenberg Blocks – PostX plugin for WordPress (버전 5.1.0 및 그 이하 모든 버전)
⚔️ 공격 벡터
권한이 낮은 사용자가 프로필 설정에서 이름에 큰따옴표를 포함한 악성 스크립트를 삽입하여 저장한 후, 해당 데이터가 출력되는 페이지를 방문자에게 노출시킴
🛡️ 대응 방법
해당 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 5.1.0 이하의 버전 번호가 나타나면 취약한 버전이 설치된 상태입니다.
wp-cli plugin list --name=postx --format=json | grep -E '5\.[0-1]\.'