🇰🇷 한글 설명
CTFd 3.7.5에서 Host 헤더 검증 부족으로 인한 취약점으로, 공격자가 HTTP 요청의 Host 헤더를 조작하여 피싱 공격, 비밀번호 재설정 공격, 캐시 포이징을 수행할 수 있습니다. NGINX 설정에서 server_name을 올바르게 설정하면 방지 가능합니다.
💡 쉬운 설명
웹사이트 주소를 속이는 공격으로, 사용자가 거짓 사이트라고 생각하게 할 수 있습니다. CTFd 3.7.5를 사용하면 이 공격에 취약합니다.
🇺🇸 원문 (English)
A Host header injection vulnerability exists in CTFd 3.7.5, due to the application failing to properly validate or sanitize the Host header. An attacker can manipulate the Host header in HTTP requests, which may lead to phishing attacks, reset password, or cache poisoning. NOTE: the Supplier's position is that the end user is supposed to edit the NGINX configuration template to set server_name (with this setting, Host header injection cannot occur).
📍 영향받는 시스템
CTFd 3.7.5 및 이전 버전
⚔️ 공격 벡터
HTTP 요청의 Host 헤더를 조작하여 피싱, 비밀번호 재설정, 캐시 포이징 공격 실행
🛡️ 대응 방법
NGINX 설정에서 server_name을 적절히 설정하거나 CTFd를 최신 버전으로 업그레이드
🔧 검증 코드
Version이 3.7.5 이하이면 취약함, 더 높은 버전이면 패치됨
pip show ctfd 2>/dev/null | grep Version