/bbs/confirm.php 페이지 reflected xss

Writer 점심이당 Program 한국CISSP협회 대표홈페이지

WEB Resolved Medium 60,000 Created: Jun 16, 2021 (3 years ago) Last Updated: Jun 21, 2021 (3 years ago)

Weakness

Reflected XSS

Description

개요

https://isc2chapter.kr/bbs/confirm.php 페이지의 msg 파라미터를 통해 xss가 가능함

재현 과정

attacked
URI: https://isc2chapter.kr/bbs/confirm.php?msg=%3C/noscript%3E%3Csvg+onload=alert%28document.cookie%29%3E&url1=%23&url2=%23
위 URI를 들어가보면, 삽입한 js 코드가 실행되어 alert이 뜸

예상되는 취약점 발생 원인

msg 파라미터에 대한 충분한 검증없이 바로 출력시켰기 때문에 발생함

패치 방법

msg 파라미터의 값을 html escape한 뒤에 출력하도록 패치

예상 결과 및 파급력

해커가 사용자들의 session id나 개인정보 등을 탈취할 수 있음

Timeline

점심이당 submitted ticket. June 16, 2021 (3 years ago)
CISSP MANAGER changed the status from 'Submitted' to 'In Progress'. June 17, 2021 (3 years ago)
CISSP MANAGER posted a comment. June 17, 2021 (3 years ago)

안녕하세요.

패치 완료 되었습니다.

확인 부탁 드립니다.

점심이당 posted a comment. June 17, 2021 (3 years ago)

네 이상없는것 같습니다.

CISSP MANAGER posted a comment. June 21, 2021 (3 years ago)

감사합니다.

앞으로도 많은 관심 부탁 드립니다.

CISSP MANAGER rewarded 60,000 credit. June 21, 2021 (3 years ago)
CISSP MANAGER changed the disclosure from 'Closed' to 'Disclosed (Full)'. June 21, 2021 (3 years ago)
CISSP MANAGER changed the status from 'In Progress' to 'Resolved'. June 21, 2021 (3 years ago)