 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP-Security.net: Suhosin 0.9.34-DEV Installation HowTo
by Chris Cornutt May 03, 2012 @ 11:54:57
On the PHP-Security.net blog today there's a new post showing how to get the latest version of the Suhosin security patch for PHP installed.
With the recently released PHP 5.4, the Suhosin patch and extension were removed from many Linux distribution packages (i.e., Debian et al.) and until three weeks ago, there was no possibility to compile and run the Suhosin extension under PHP 5.4. This little howto shall serve as installation instruction for Debian Wheezy users - your mileage may vary. I blogged about this here.
They start with the apt-get commands to install the latest PHP5 for your distribution (yum commands are similar, of course) and includes the location to download the latest Suhosin version from Stefan Esser's github account. Unpack it, compile and "phpize" it and if all goes well, you should have a shared module built and ready for use.
voice your opinion now!
install suhosin shared module compile phpize tutorial
Vance Lucas' Blog: Nginx + PHP-FPM Blank Pages with Phar Packages
by Chris Cornutt March 08, 2012 @ 12:18:02
Vance Lucas has a new post sharing some of his experience in setting up nginx+PHP-FPM with phar packages that he recently had with setting up a new server instance for a company. The problem showed itself as blank pages, apparently due to a feature in the Suhosin security package.
Ran into this issue when setting up a new VPS for AutoRidge. This happens when using Nginx and PHP-FPM with PHP 5.3+ and the Suhosin patch when trying to run a PHP script using a PHAR package. From what I can gather, the Suhosin patch basically blocks PHP include/require functions from executing files ending with .phar, which results in a PHP segfault that leaves no trace of any error at all.
His solution is a pretty simple one - edit the "suhosin.ini" file to allow for the opening of includes in phar files (suhosin.executor.include.whitelist). You can find out more about the Suhosin security tool on the project's website.
voice your opinion now!
nginx phpfpm problem phar package suhosin
PHPClasses.org: Another Serious Security Bug on PHP 5.3.9
by Chris Cornutt February 06, 2012 @ 14:16:22
On the PHPClasses.org blog there's a new post detailing an issue that came up in the PHP 5.3.9 release that caused a large security issue (PHP 5.3.10 has, however, already been released to correct the issue).
PHP 5.3.9 release was mostly meant to fix a security bug, but it introduced a new more serious bug. PHP 5.3.10 was just released to fix this issue. [...] This time it is a bug that allows arbitrary remote code execution. This means that it allows to run arbitrary code on the server, injected by an eventual attacker, so it can be used to cause many types of damage inside a server.
The upgrade to PHP 5.3.10 is highly recommended to prevent this issue from effecting your applications. The post also mentions the dropping of Suhosin support (a security plugin for PHP) on the Debian linux distribution's default installation and how the PHP community has reacted to the decision.
voice your opinion now!
security bug release update suhosin
Brandon Savage's Blog: Suhosin The Invisible Hand Of PHP
by Chris Cornutt November 18, 2009 @ 08:14:52
Brandon Savage has written up a look at the Suhosin patch for PHP (a project lead by Stefan Esser), what it can do for your PHP installation and his opinion on the benefits.
Last week, I received an email from someone who told me how the Suhosin patch had created problems for their team, and suggested that I write about it here. I thought this was a great idea, for a number of reasons. Particularly, Suhosin is one of those PHP patches that alters the way PHP operates in a fundamental fashion, yet also is installed by default in many places (for example, Ubuntu compiles this patch in by default on their installation).
He talks about some of the features it includes - disabling eval, not allowing for remote includes, makes it possible to modify the memory limit per script and allows you to set limits on the length of REQUEST arrays. He notes that, while the Suhosin patch is a good thing and can make a real difference in your application, it's by no means a requirement to creating a secure application (and shouldn't be used as a replacement for such).
There's also an interesting comment from Stefan Esser himself on the comments Brandon made in the post.
voice your opinion now!
suhosin patch stefanesser security
Arnold Daniels' Blog: Suhosin patch for PHP 5.3
by Chris Cornutt August 11, 2009 @ 12:47:22
In this quick post to his blog Arnold Daniels points out their patched version of the Suhosin hardening patch for PHP 5.3.
The hardened-php project has yet to release a suhosin patch for PHP 5.3.0. We're already using PHP 5.3, therefore I've modified the 0.9.7 patch for 5.2.10 to work with 5.3.0.
The Suhosin patch, created by the Hardened-PHP project is a protection system aiming to help protect your PHP installation from some of the common (and not so common) flaws in the PHP language itself. It's applied as a patch to the source before compiling and gives you a list of features for the base engine, runtime, session and filtering protection.
voice your opinion now!
suhosin patch unofficial
Brandon Savage's Blog: PHP 5.3 Not In Next Version Of Ubuntu
by Chris Cornutt August 05, 2009 @ 09:04:14
As Brandon Savage mentions in this recent post to his blog, PHP 5.3 (the most current release as of the time of this post) will not be included in the upcoming Ubuntu linux release and won't be upgradable via the normal package tools.
A meeting of the development team on July 30th nixed the inclusion of PHP 5.3 from inclusion in Karmic, the next iteration of Ubuntu for the desktop and the server. According to meeting minutes, there is concern amongst the Ubuntu security team that failure to include the suhosin patch in the PHP release would be a feature regression. Instead, the release will be referred to PPA until more testing can be completed.
Until the package is officially accepted and where users can update it as usual, you can still try your hand at compiling it manually and getting your Apache server up and running quickly.
voice your opinion now!
ubuntu linux latest release suhosin
PHPFreaks.com: Hardening PHP with Suhosin
by Chris Cornutt May 28, 2008 @ 08:47:22
PHPFreaks.com has a new tutorial posted that looks to help you protect you and your application with an even greater level of security by using the Suhosin patch.
Suhosin is a great and simple way of increasing your security without having a large impact on overall performance. In this tutorial I will cover the installation and configuration of Suhosin on both debian etch and centos 5. I may cover mod_security in a later tutorial.
They apt-get the packages needed for the patch in examples for two different distributions - Debian (etch) and CentOS. They also show how to set up some basic configuration to get the patch installed and working with your PHP installation.
voice your opinion now!
harden patch suhosin install tutorial debian centos
|
Community Events
Don't see your event here? Let us know!
|