House of Apple 2
·
워게임&CTF
개요유저모드에서 파일을 나타내는 구조체 IO_FILE에 접근할 수 있을 때, IO_validate_vtable의 검증을 우회하여 파일 작업 중 임의의 함수를 실행시킬 수 있는 FSOP 기법의 일종 환경우분투 22.04, glibc 2.35취약한 바이너리에서 stdout의 IO_FILE 구조체를 접근하여 멤버를 쓸수 있음libc base를 알고있음기법 설명stdout도 파일의 일종이므로, stdout을 describe하는 구조체는 이렇게 생겼다.struct _IO_FILE{ int _flags; /* High-order word is _IO_MAGIC; rest is flags. */ /* The following pointers correspond to the C++ streambuf protoco..