Support

Admin Tools

#10052 cpanel kernel php segfaults

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 05 October 2011 15:53 CDT

slaes
hey nico,

if you have a moment, throw in your view on something.

https://www.atomicorp.com/wiki/index.php/ASL_FAQ#php_segfaults

curious if you agree? these guys sure do give cpanel kernal a hard time.

nicholas
Akeeba Staff
Manager
Technically, it doesn't have to do with cPanel and this problem isn't unique to Linux. The growing trend on OS kernels is to use the NX or XD bit on the CPU FLAG register to mark data segments (including the stack) as non executable. According to my understanding, the ALS kernel takes this a bit further and won't even load software which doesn't try to enforce this protection scheme. This is a good idea, as the majority of operating system level hacks involves exploiting vulnerable software to place malicious code in a data segment (like the easy target: the stack) and executing it.

I wouldn't say that what these guys were doing gave the kernel a hard time. On the contrary, the kernel gave a hard time to third party libraries which run in server context (Zend extensions run with Apache process privileges, which could in theory be exploited for privilege escalation attacks). IMHO, the kernel did a good thing. The segfault isn't a real segfault (there was no segmentation fault), it is just an exception thrown when the library was trying to do something unsafe and the kernel did its best to protect its sorry arse from being exposed to it :D

Oh, man, you just reminded me of all those days I have spent messing around with 80x86 Assembly code back in the days and all the nasty crashes I caused to my poor 486DX2 machine :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!