
@CaptnBanana와 blenk92가 발견한 무기화된 radare2 취약점
@CaptnBanana와 blenk92가 발견한 무기화된 radare2 취약점 (CVE-2019-14745 지정)
취약점에 대한 자세한 내용은 https://bananamafia.dev/post/r2-pwndebian/ 에서 읽어보세요.
먼저, LIEF의 Python 바인딩이 필요합니다 (https://lief.quarkslab.com/) 그런 다음, 스크립트를 다음과 같이 실행하세요:
python nukeradare2.py <binary_name> <one of the symbols of that binary> <shell command>
이렇게 하면 nuked_ 접두사가 붙은 바이너리가 생성됩니다. 다음과 같이 실행하세요:
radare2 -c "ood" <nuked_binary>
또는 radare2에서 "ood"를 명령어로 입력하세요. radare2가 명령어를 두 번 실행한다는 점에 유의하세요.