🇰🇷 한글 설명
Zen Cart의 PayPal Payments Pro 모듈이 SSL 인증서의 호스트명을 검증하지 않는 취약점입니다. 공격자가 유효한 인증서를 소유하고 있다면 중간자 공격(MITM)을 통해 SSL 서버를 위장할 수 있습니다.
💡 쉬운 설명
온라인 결제 시스템이 결제 서버가 진짜인지 확인하지 않습니다. 해커가 중간에서 결제 정보를 가로챌 수 있습니다.
🇺🇸 원문 (English)
The PayPal Payments Pro module in Zen Cart does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the PHP fsockopen function, a different vulnerability than CVE-2012-5805.
📍 영향받는 시스템
Zen Cart PayPal Payments Pro module (버전 미지정, 권장: 최신 패치 버전)
⚔️ 공격 벡터
PHP fsockopen으로 연결할 때 Certificate CN/SAN 검증 부재, 유효한 인증서를 가진 공격자의 MITM 공격
🛡️ 대응 방법
Zen Cart 및 PayPal Payments Pro 모듈을 최신 버전으로 업데이트하고, OpenSSL stream context에서 peer_name 및 verify_peer 옵션 활성화
🔧 검증 코드
결과에서 verify_peer=true 및 peer_name 설정 유무 확인. 미설정시 취약함
grep -r 'fsockopen\|ssl://' /path/to/zencart/includes/modules/payment/ 2>/dev/null | head -5