🇰🇷 한글 설명
Paytm Payment Gateway WordPress 플러그인 2.8.9 미만 버전에서 결제 콜백 데이터를 적절히 검증하지 않아 발생하는 취약점입니다. 인증되지 않은 사용자가 조작된 콜백을 통해 악성 스크립트를 저장할 수 있으며, 이는 관리자 세션에서 실행되어 권한 탈취로 이어질 수 있습니다.
💡 쉬운 설명
해커가 가짜 결제 정보를 보내 관리자 페이지에 몰래 악성 코드를 심을 수 있는 보안 구멍입니다. 관리자가 이 페이지를 열기만 해도 해커가 관리자 권한을 가로챌 수 있습니다.
🇺🇸 원문 (English)
The Paytm Payment Gateway WordPress plugin before 2.8.9 does not sanitize and escape data it stores from payment callbacks before outputting it in an admin page, and the integrity check on those callbacks can be forged when the gateway is enabled without credentials, allowing unauthenticated users to store scripts that will run in the session of a store administrator.
📍 영향받는 시스템
Paytm Payment Gateway WordPress plugin version < 2.8.9
⚔️ 공격 벡터
인증되지 않은 사용자가 조작된 결제 콜백 데이터를 전송하여 관리자 페이지에 스크립트를 삽입하는 방식 (Stored XSS)
🛡️ 대응 방법
Paytm Payment Gateway 플러그인을 최신 버전인 2.8.9 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 2.8.9 미만인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'paytm' && wp plugin list --all | grep -E 'paytm' | awk '{print $2 " " $3}'