suid binaries on CDROM

Giannis Papaioannou jhn at egnatia.ee.auth.gr
Wed Sep 4 15:07:01 EEST 2002


On Mon, 2 Sep 2002, Alexandros Papadopoulos wrote:
>[0] Paw kai ftiaxnw ena partition mege8ous 10MB
>[1] Tou rixnw ext2fs apo panw
>[2] Antigrafw ena shell (px /bin/bash) ekei, kai to kanw suid root
>[3] Ftiaxnw ena image tou partition (me to dd ypo8etw) sto arxeio img.cd
>[4] Kaiw to img.cd se ena CDROM me ta katallhla switches
>[5] Paw mia bolta se enan filo linuxa
>[6] Kanw mount to CDROM mou (exei bare8ei na bgalei to suid bit apo to 
>/bin/mount sto systhma tou)
>[7] Epishs exei bare8ei na balei to option nosuid sto /etc/fstab tou.
>[8] Ektelw to shell mou san restricted xrhsths
>
>To apotelesma einai na exw ena root shell sto kseno mhxanhma xwris na exw 
>kanei tipota idiaitero. Einai dynaton na einai toso eykolo?

Kala eisai sobaros? 8a kaneis ola auta gia na apokthseis root shell (kai
an)? kai les oti den ekanes kai tipota idiaitero, diadromh a8hna-patra
meso kabalas (kai an ftaseis)?

giati otan pas ston filo sou de patas SHIFT sto lilo prompt gia na dwseis
parametrous ston pyrhna opws init=/bin/bash kai na mpeis root san kyrios.

akoma kai an den exeis auth thn dynatothta mporeis na ftia3eis mia disketa
'make bzlilo' kai na kaneis boot me authn.

ektos kai an to PC einai kleidwmeno se xrhmatokibwtio, wste na mhn yparxei
fysikh epafh mazi tou, den asfalizetai me tipota.




More information about the Linux-greek-users mailing list