버그바운티에서 은근 보이는 header 들 정리

 

Forwarded

Forwarded 헤더는 기존의 X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Host 같은 비표준 헤더들을 대체하기 위해 만들어진 표준화된 헤더.

 

> 사용방법

Forwarded: by=<identifier>; for=<client-ip>; host=<host>; proto=<http|https>

* for = X-Forwarded-For를 대체

host = X-Forwarded-Host를 대체

proto =  X-Forwarded-Proto를 대체

 

> 사용 예

curl -v -H "Forwarded: host=test.com" https://www.naver.com

출처 : https://hackerone.com/reports/2627221

 

해당 명령어 결과가 test.com으로 리다이렉션 되면 공격 성공

 


 

복사했습니다!