2. Information Security/3. War Game
웹해킹 10번 (webhacking.kr old 10)
H232C
2019. 11. 1. 00:53
1. 공격 유형 : HTML 태그 변조
2. 취약점 환경 : Response 값 내 this.stylle.left 값 변경
3. Write Up
ㅇ 코드분석
- onclick(마우스 선택시) this.style.left 값에 1px 전달 (parseint 값내 10은 10진수로 값을 받겠다는 의미임)
- if(this.stype.left == '1600px' : this=href='?go=this.style.left (this.style.left 값이 1600일 경우 ?go=1600px 전송)
ㅇ 공격 포인트 (response 값에서 this.style.left 값을 1600으로 변경!)