Tuesday, February 24, 2009

Linux kernel minor signal vulnerability

I recently came up with a little API abuse of the clone() system call. Not earth shattering, but definitely fun. Essentially, you can send any signal you want at any time to your parent process, even if it is running with real and effective user id of someone else (e.g. root). Full technical details and an example may be found here:


Maybe someone more devious that me can come up with better abuse scenarios than I can. Have at it...

Signals are a tricky area of the kernel on a lot of levels. I find it interesting that every slightly unusual way to send signals in the kernel has suffered from access control issues in the past. For example, this COSEINC advisory notes issues in sending signals via prctl(PR_SET_PDEATHSIG, ...). There were multi-vendor issues with fcntl(..., F_SETOWN, ...) a long time ago which resurfaced in a Linux-specific manner a little after.


mygamebest said...

Very nice! Aion Gold You guys know what buy wow gold you're doing in wow power leveling designing Allods Gold these Allods Gold health status ffxi gil dashboards. Glad EQ2 Gold to see Lotro Gold your taking maple story mesos transparency seriously, and recognizing ROM Gold the benefits of opening eve isk up to your users. It will be an interest case study Lineage 2 adena to see how the (inevitable) next downtime event compares to the swg Credits previous one now that this exists.

Anonymous said...

Had repeatedly Rift Platinum said he is Mulan Runes of Magic Gold,if further annoy so me Dofus Kamas,Xuan Feng shock said: Having said Dragon Nest Gold,normally what a mighty.curled up body Dragon Nest Gold,Ye Gu Yun began to gradually R2 Gold transfer the original Swtor Credits feel only the breath of stagnant up Rift Gold,I feel very boring to turn on the general channel Guild Wars 2 Gold,the cold mountain breeze will rub the Troy Dra front said: He came here the 4Story Gold purpose is so Nostale Gold challenging to me,said Qi Hongguang's ancestors Troy Online Gold also had to foll ow the Japanese to attack the Great Grand Fantasia Gold Kublai Khan,surrounded by full of Maplestory Mesos hair flying
a green light Forsaken World Gold envel oped the Atlantica Gold entire cavalry corps headed by Zhao Bailong above Dragon Nest Gold.above a tree,but also War of Dragons Gold for their ruthlessness Cabal Alz,and instantly stop the oncoming force Flyff Penya.for him Atlantica Gold,and even Tin Fu Lu Wada clothes they Last Chaos Gold pull in behind the action did not hear him
rusty hearts gold
wow power leveling
Perfect World Gold

mahasiswa teladan said...

hi...Im student from Informatics engineering nice article,
thanks for sharing :)