🇰🇷 한글 설명
Casdoor 1.577.0 및 이전 버전에서 WeChat Pay QR 코드를 생성하는 URL에 반사형 XSS 취약점이 존재합니다. 공격자는 successUrl 파라미터를 조작하여 결제 완료 후 악성 스크립트가 실행되도록 유도할 수 있습니다. 사용자가 결제 페이지를 신뢰하여 공유하거나 사회 공학적 기법에 속을 경우 공격이 성공합니다.
💡 쉬운 설명
결제 완료 후 이동할 주소를 조작하여 사용자의 브라우저에서 나쁜 코드가 실행되게 만드는 보안 약점입니다. 결제 페이지 링크를 함부로 클릭하거나 공유할 때 발생할 수 있습니다.
🇺🇸 원문 (English)
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, he purchase URL that is created to generate a WechatPay QR code is vulnerable to reflected XSS. When purchasing an item through casdoor, the product page allows you to pay via wechat pay. When using wechat pay, a QR code with the wechat pay link is displayed on the payment page, hosted on the domain of casdoor. This page takes a query parameter from the url successUrl, and redirects the user to that url after a successful purchase. Because the user has no reason to think that the payment page contains sensitive information, they may share it with other or can be social engineered into sending it to others. An attacker can then craft the casdoor link with a special url and send it back to the user, and once payment has gone though an XSS attack occurs.
📍 영향받는 시스템
Casdoor 1.577.0 및 그 이전 모든 버전
⚔️ 공격 벡터
조작된 successUrl 파라미터가 포함된 결제 페이지 링크를 통한 반사형 XSS 공격
🛡️ 대응 방법
Casdoor를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 1.577.0 이하인지 확인하여 취약 여부를 판단합니다.
curl -s http://<casdoor-host>/api/health | grep -i 'version' || echo 'Check Casdoor version via management console'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
💻 영향받는 소프트웨어
IBM Verify Identity Access