The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Вариант для распечатки  
Пред. тема | След. тема 
Форум Разговоры, обсуждение новостей
Режим отображения отдельной подветви беседы [ Отслеживать ]

Оглавление

В Linux ядре найдена вторая уязвимость, присутствующая с 200..., opennews (??), 14-Авг-09, (0) [смотреть все] +1

Сообщения [Сортировка по времени | RSS]


27. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  –1 +/
Сообщение от sHaggY_caT (ok), 14-Авг-09, 23:43 
В OpenVZ контейнере не работает:

user@nx_ubuntu:~/wunderbar_emporium$ ./wunderbar_emporium.sh        

=================================================================
exploit.c:29:24: error: asm/unistd.h: No such file or directory
exploit.c:30:20: error: signal.h: No such file or directory    
exploit.c:33:20: error: stdint.h: No such file or directory    
exploit.c:34:19: error: stdio.h: No such file or directory    
exploit.c:35:20: error: stdlib.h: No such file or directory    
exploit.c:36:20: error: string.h: No such file or directory    
exploit.c:37:22: error: sys/file.h: No such file or directory  
exploit.c:38:22: error: sys/mman.h: No such file or directory  
exploit.c:39:26: error: sys/sendfile.h: No such file or directory
exploit.c:40:24: error: sys/socket.h: No such file or directory  
exploit.c:41:23: error: sys/types.h: No such file or directory  
exploit.c:42:22: error: sys/user.h: No such file or directory    
exploit.c:43:29: error: sys/personality.h: No such file or directory
exploit.c:44:20: error: unistd.h: No such file or directory        
exploit.c:58: error: ‘PF_APPLETALK’ undeclared here (not in a function)
exploit.c:58: error: ‘SOCK_DGRAM’ undeclared here (not in a function)  
exploit.c:59: error: ‘PF_IPX’ undeclared here (not in a function)      
exploit.c:59: error: ‘PF_IRDA’ undeclared here (not in a function)    
exploit.c:60: error: ‘PF_X25’ undeclared here (not in a function)      
exploit.c:60: error: ‘PF_AX25’ undeclared here (not in a function)    
exploit.c:61: error: ‘PF_BLUETOOTH’ undeclared here (not in a function)
exploit.c:61: error: ‘SOCK_STREAM’ undeclared here (not in a function)
exploit.c:62: error: ‘PF_INET6’ undeclared here (not in a function)    
exploit.c:62: error: ‘SOCK_SEQPACKET’ undeclared here (not in a function)
exploit.c:63: error: ‘PF_PPPOX’ undeclared here (not in a function)      
exploit.c: In function ‘extract_and_play_video’:                        
exploit.c:76: error: ‘FILE’ undeclared (first use in this function)      
exploit.c:76: error: (Each undeclared identifier is reported only once  
exploit.c:76: error: for each function it appears in.)                  
exploit.c:76: error: ‘file’ undeclared (first use in this function)      
exploit.c:76: error: invalid operands to binary *                        
exploit.c:85: warning: incompatible implicit declaration of built-in function ‘malloc’
exploit.c:90: error: ‘SEEK_END’ undeclared (first use in this function)              
exploit.c:100: warning: incompatible implicit declaration of built-in function ‘snprintf’
exploit.c: In function ‘get_kernel_sym’:                                                
exploit.c:156: error: ‘FILE’ undeclared (first use in this function)                    
exploit.c:156: error: ‘f’ undeclared (first use in this function)                        
exploit.c:156: error: invalid operands to binary *                                      
exploit.c:166: warning: incompatible implicit declaration of built-in function ‘fprintf’
exploit.c:166: error: ‘stdout’ undeclared (first use in this function)                  
exploit.c:172: error: ‘EOF’ undeclared (first use in this function)                      
exploit.c:172: warning: comparison between pointer and integer                          
exploit.c:173: warning: incompatible implicit declaration of built-in function ‘fscanf’  
exploit.c:179: warning: incompatible implicit declaration of built-in function ‘fprintf’
exploit.c: In function ‘give_it_to_me_any_way_you_can’:                                  
exploit.c:247: warning: incompatible implicit declaration of built-in function ‘memset’  
exploit.c: In function ‘pa__init’:                                                      
exploit.c:353: error: ‘PER_SVR4’ undeclared (first use in this function)                
exploit.c:353: warning: comparison between pointer and integer                          
exploit.c:354: error: ‘PROT_READ’ undeclared (first use in this function)                
exploit.c:354: error: ‘PROT_WRITE’ undeclared (first use in this function)              
exploit.c:354: error: invalid operands to binary |                                      
exploit.c:354: error: ‘PROT_EXEC’ undeclared (first use in this function)                
exploit.c:354: error: invalid operands to binary |                                      
exploit.c:354: error: ‘MAP_FIXED’ undeclared (first use in this function)                
exploit.c:354: error: ‘MAP_ANONYMOUS’ undeclared (first use in this function)            
exploit.c:354: error: invalid operands to binary |                                      
exploit.c:354: error: ‘MAP_PRIVATE’ undeclared (first use in this function)              
exploit.c:354: error: invalid operands to binary |                                      
exploit.c:354: warning: assignment makes pointer from integer without a cast            
exploit.c:358: error: invalid operands to binary |                                      
exploit.c:358: error: invalid operands to binary |                                      
exploit.c:358: error: invalid operands to binary |                                      
exploit.c:358: warning: assignment makes pointer from integer without a cast            
exploit.c:360: warning: incompatible implicit declaration of built-in function ‘fprintf’
exploit.c:360: error: ‘stdout’ undeclared (first use in this function)                  
exploit.c:365: error: invalid operands to binary |                                      
exploit.c:365: error: invalid operands to binary |
exploit.c:367: warning: incompatible implicit declaration of built-in function ‘fprintf’
exploit.c:372: warning: incompatible implicit declaration of built-in function ‘fprintf’
exploit.c:460: warning: incompatible implicit declaration of built-in function ‘exit’
exploit.c:463: warning: incompatible implicit declaration of built-in function ‘execl’
pwnkernel.c:1:19: error: stdio.h: No such file or directory
pwnkernel.c:2:20: error: stdlib.h: No such file or directory
pwnkernel.c:3:20: error: unistd.h: No such file or directory
pwnkernel.c:4:29: error: sys/personality.h: No such file or directory
pwnkernel.c:5:22: error: sys/stat.h: No such file or directory
pwnkernel.c: In function ‘main’:
pwnkernel.c:13: error: storage size of ‘fstat’ isn’t known
pwnkernel.c:15: error: ‘PER_SVR4’ undeclared (first use in this function)
pwnkernel.c:15: error: (Each undeclared identifier is reported only once
pwnkernel.c:15: error: for each function it appears in.)
pwnkernel.c:18: warning: incompatible implicit declaration of built-in function ‘fprintf’
pwnkernel.c:18: error: ‘stderr’ undeclared (first use in this function)
pwnkernel.c:22: warning: incompatible implicit declaration of built-in function ‘fprintf’
pwnkernel.c:22: error: ‘stdout’ undeclared (first use in this function)
pwnkernel.c:29: error: ‘S_ISUID’ undeclared (first use in this function)
pwnkernel.c:34: warning: incompatible implicit declaration of built-in function ‘execl’
pwnkernel.c:34: error: ‘NULL’ undeclared (first use in this function)
./wunderbar_emporium.sh: 40: ./pwnkernel: not found
======================================

Когда запустила на hardware node(случайно под рутом), она повисла, пришлось ребутнуть по кнопке.

Интересно, а в Xen/KVM/OpenVZ можно использовать каким-то образом модифицированный эсплойт?

Ответить | Правка | К родителю #2 | Наверх | Cообщить модератору

34. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от phpcoderemail (??), 15-Авг-09, 08:45 
>В OpenVZ контейнере не работает:

Дело не в OpenVZ контейнере, а в том, что у вас в нём не установлены пакеты для разработки (-devel). Иначе говоря, скрипт пытается скомпилировать эксплойт, но у него этого не получается.

Ответить | Правка | Наверх | Cообщить модератору

71. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от User294 (ok), 17-Авг-09, 02:01 
>Дело не в OpenVZ контейнере,

И в нем тоже - в оных данный сплойт походу не работает :)

Ответить | Правка | Наверх | Cообщить модератору

65. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от User294 (ok), 16-Авг-09, 11:05 
>Интересно, а в Xen/KVM/OpenVZ можно использовать каким-то образом модифицированный эсплойт?

Мне тоже интересно :)

Ответить | Правка | К родителю #27 | Наверх | Cообщить модератору

70. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от User294 (ok), 17-Авг-09, 02:00 
Хм... вот так оно выглядело из контейнера openvz'ы в случае дебиана:
----------кусь----------
./wunderbar_emporium.sh
[+] MAPPED ZERO PAGE!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
Unable to obtain symbol listing!
unable to find a vulnerable domain, sorry
----------кусь----------

Ну и в итоге фига вместо root, разумеется.

ЗЫЖ а на х64 убунте (это уже без опенвзы) - 1 раз после срабатывания сплойта все повесилось нафиг, а еще раз - сработало.

Ответить | Правка | Наверх | Cообщить модератору

72. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от rentonemail (??), 17-Авг-09, 08:06 
>[оверквотинг удален]
>Unable to obtain symbol listing!
>Unable to obtain symbol listing!
>Unable to obtain symbol listing!
>Unable to obtain symbol listing!
>Unable to obtain symbol listing!
>Unable to obtain symbol listing!
>unable to find a vulnerable domain, sorry
>----------кусь----------
>
>Ну и в итоге фига вместо root, разумеется.

Аналогично, Gentoo 2.6.24-r1 x86_64

Ответить | Правка | Наверх | Cообщить модератору

81. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от Xaionaroemail (?), 18-Авг-09, 13:43 
Что-то мне кажется что эксплойт писан под i386 :)
Ответить | Правка | Наверх | Cообщить модератору

84. "В Linux ядре найдена вторая уязвимость, присутствующая с 200..."  +/
Сообщение от User294 (ok), 25-Авг-09, 12:35 
>Что-то мне кажется что эксплойт писан под i386 :)

Ага, наверное именно поэтому я получил таки со второй попытки рута на своей 64-битной убунте но зато отхватил волшебную фигу в контейнере опенвзы работающего на i386 как раз? Факты говорят обратное :P. Кстати в убунте уже не работает, они кернель обновили походу...

Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру