🇰🇷 한글 설명
RedpwnCTF 2.3 미만 버전에서 /verify 엔드포인트에 #token=$ssid 해시를 사용하여 세션 고정 공격이 가능합니다. 공격자는 XSS를 통해 피해자를 자신의 계정으로 로그인시켜 점수를 가로챌 수 있습니다.
💡 쉬운 설명
공격자가 미리 만들어둔 로그인 상태를 다른 사람에게 강제로 적용시키는 취약점입니다. 이를 통해 다른 사람이 문제를 풀어서 얻은 점수를 공격자가 가로챌 수 있습니다.
🇺🇸 원문 (English)
In RedpwnCTF before version 2.3, there is a session fixation vulnerability in exploitable through the `#token=$ssid` hash when making a request to the `/verify` endpoint. An attacker team could potentially steal flags by, for example, exploiting a stored XSS payload in a CTF challenge so that victim teams who solve the challenge are unknowingly (and against their will) signed into the attacker team's account. Then, the attacker can gain points / value off the backs of the victims. This is patched in version 2.3.
📍 영향받는 시스템
RedpwnCTF version < 2.3
⚔️ 공격 벡터
XSS를 이용한 세션 고정(Session Fixation) 공격
🛡️ 대응 방법
RedpwnCTF를 2.3 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 2.3 미만의 버전 정보가 나타나면 취약한 상태입니다.
grep -r "version" . | grep -v "2.3"