🇰🇷 한글 설명
WordPress용 Postie 플러그인의 1.9.87 이하 모든 버전에는 이메일 본문 URL 자동 링크 기능에 저장형 크로스사이트 스크립팅(XSS) 취약점이 존재합니다. 인증되지 않은 공격자가 ?postie=get-mail 엔드포인트를 통해 악성 스크립트를 페이지에 삽입할 수 있으며, 해당 페이지에 접근하는 사용자의 브라우저에서 스크립트가 실행됩니다.
💡 쉬운 설명
이메일을 처리하는 Postie 플러그인의 보안 결함으로, 로그인하지 않은 사람도 웹사이트 페이지에 악성 코드를 심을 수 있습니다. 이 페이지를 방문한 방문자는 자신도 모르게 공격에 노출될 수 있습니다.
🇺🇸 원문 (English)
The Postie plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Email Body URL Autolink in all versions up to, and including, 1.9.87 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. This is possible because the ?postie=get-mail endpoint is reachable by unauthenticated users with no capability check, and the email processing path removes WordPress's kses output filters before saving raw markup, allowing the unescaped href attribute value to be stored as post content.
📍 영향받는 시스템
WordPress용 Postie 플러그인 1.9.87 이하 모든 버전
⚔️ 공격 벡터
공격자가 이메일 본문에 악성 href 속성을 포함시켜 전송하면, 인증 없이 get-mail 엔드포인트를 통해 콘텐츠가 저장되어 방문자 브라우저에서 스크립트가 실행됨
🛡️ 대응 방법
Postie 플러그인을 1.9.88 이상 최신 버전으로 업데이트하고, 불필요하면 플러그인을 비활성화 또는 제거
🔧 검증 코드
출력된 버전이 1.9.87 이하이면 취약하므로 즉시 업데이트가 필요하며, 명령어가 결과를 출력하지 않으면 플러그인이 설치되어 있지 않은 것입니다.
wp plugin list --name=postie --field=version 2>/dev/null