Archive for the ‘PHP’ Category
Friday, October 31st, 2008
During International PHP Conference 2008 there where a lot of discussions about the stupid backslash namespace seperator decision. Most of the guys "do not want to have their PHP files look like windows registry dumps" (Quoting some unknown guy at the panel discussion). Some people even suggested forking PHP at ...
Posted in PHP | 39 Comments »
Sunday, October 12th, 2008
Users of Suhosin-Patch will sooner or later see messages like "canary mismatch on efree() - heap overflow detected" in their error log. When this happens they are often confused and don't understand what it means.
The first questions they often ask themself are:
Did they trigger a bug in Suhosin?
Is something wrong ...
Posted in PHP, Security | 8 Comments »
Wednesday, October 1st, 2008
Although PHP 5.3 is still in alpha stage and certain features like the PHAR extension or the whole namespace support are still topics of endless discussions it already contains smaller changes that could improve the security of PHP applications a lot.
One of these small changes is the introduction of a ...
Posted in PHP, Security | 14 Comments »
Thursday, September 18th, 2008
Here are the slides of my ZendCon talk about Lesser Known Security Problems in PHP Applications.
(PDF) Lesser Known Security Problems in PHP Applications
Posted in PHP, Security | 21 Comments »
Monday, September 15th, 2008
The PHP Korea usergroup has organised an improvised PHP mini-conference and coding session called PHP Fest 2008, which will take place at the end of september in Seoul. The mini-conference is not only sponsored by Microsoft Korea but also takes place in the POSCO building in rooms owned by Microsoft ...
Posted in PHP, Security | 2 Comments »
Thursday, September 4th, 2008
The first questions regarding Suhosin are where the name comes from and what it actually means. I usually explain that Suhosin is similar to a guardian angel. Some ghost or god protecting a village from dark ghosts.
Yesterday I was able to take this picture of two of the guardian ghosts ...
Posted in PHP, Projects, Security | 2 Comments »
Friday, August 22nd, 2008
I just released Suhosin 0.9.26 which among bugfixes contains new features. The full changelog is
Fixed problem with suhosin.perdir
Thanks to Hosteurope for tracking this down
Fixed problems with ext/uploadprogress
Reported by: Christian Stocker
Added suhosin.srand.ignore and suhosin.mt_srand.ignore (default: on)
Modified rand()/srand() to use the Mersenne Twister algorithm with separate state
Added better internal seeding of rand() ...
Posted in PHP, Projects, Security | 36 Comments »
Thursday, August 21st, 2008
Last week I gave my first webinar for MySQL titled "Bau sicherer LAMP Anwendungen". The webinar, which was a cooperation between MySQL and my company SektionEins, was held in german, covered SQL-Malware, SQL-Injection, safe programming and some tools to detect and block SQL-Injection attacks.
The recording of this webinar is now ...
Posted in MySQL, PHP, Security | 10 Comments »
Monday, August 18th, 2008
While SQL-Injection is one of the most discussed security problems in web applications other possible problems for SQL queries like overlong input are usually ignored although they can lead to all kinds of security problems.
This might be caused by the fact that security problems that are the result of overlong ...
Posted in MySQL, PHP, Security | 190 Comments »
Sunday, August 17th, 2008
PHP comes with two random number generators named rand() and mt_rand(). The first is just a wrapper around the libc rand() function and the second one is an implementation of the Mersenne Twister pseudo random number generator. Both of these algorithms are seeded by a single 32 bit dword when ...
Posted in PHP, Security | 128 Comments »