
Handlebars에서 출력이 다운스트림 구성 요소에 사용될 때 특수 요소의 부적절한 중립화('Injection' 취약점)
Handlebars 부적절한 특수 요소 중화 – 다운스트림 구성 요소가 사용하는 출력에서의 인젝션 취약점
pip install requests packaging
python handlebars_scanner.py
pip install requests
python handlebars_exploit.py
대상 URL 입력:
Exploit 예상 출력 : 대상 URL 입력 (예를 들어, http://example.com/render): http://example.com/render
실행할 OS 명령어 입력: ls
[+] 익스플로잇 페이로드를 http://example.com/render 로 전송 중...
[+] 페이로드가 성공적으로 실행되었습니다.
[+] 응답:
file1.txt file2.txt