🇰🇷 한글 설명
WordPress의 Application Passwords 플러그인 0.1.3 이하 버전에서 'reject_url' 매개변수를 통한 반사형 XSS 취약점이 발견되었습니다. 입력값에 대한 검증 및 출력 이스케이프 처리가 미흡하여 공격자가 javascript: URI 스킴을 삽입할 수 있습니다. 이를 통해 사용자가 특정 버튼을 클릭할 때 악성 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
해커가 만든 특수한 링크를 클릭하면 웹사이트 내에서 몰래 나쁜 코드가 실행될 수 있는 보안 약점입니다. 사용자가 '연결을 승인하지 않음' 버튼을 누르는 순간 공격자가 원하는 동작이 수행될 수 있습니다.
🇺🇸 원문 (English)
The Application Passwords plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'reject_url' parameter in all versions up to, and including, 0.1.3. This is due to insufficient input sanitization and output escaping on user supplied URLs, which allows javascript: URI schemes to be embedded in the reject_url parameter. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when a user clicks the "No, I do not approve of this connection" button, granted they can successfully trick the victim into performing an action such as clicking on a link.
📍 영향받는 시스템
WordPress Application Passwords plugin (버전 0.1.3 및 그 이하 모든 버전)
⚔️ 공격 벡터
공격자가 조작된 URL을 피해자에게 클릭하도록 유도하여 스크립트를 실행시키는 방식
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 해당 매개변수에 대한 입력값 검증 및 출력 이스케이프 처리를 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 application-passwords 플러그인의 버전이 0.1.3 이하인지 확인합니다.
wp-cli plugin list --allow-root | grep -E 'application-passwords'