Google for me and get ZendFriday, June 1. 2007Friday, June 1. 2007 Brought to you from one of the comments in my blog.
Comments (6)
PHP 5.2.3 released...Friday, June 1. 2007Friday, June 1. 2007 PHP 5.2.3 was released with several security fixes.
PHP 4 - Reference Counter Overflow FixSunday, May 20. 2007Sunday, May 20. 2007 Because the PHP developers do not want to fix the PHP 4 Reference Counter Overflow Vulnerability that was disclosed during the Month of PHP Bugs the Hardened-PHP Project as usual had to step in to protect the users of PHP.
Suhosin 0.9.20 and crypt() Thread Safety VulnerabilitySaturday, May 19. 2007Saturday, May 19. 2007 I just released Suhosin 0.9.20 that adds a few new features and bugfixes. The most important addition is that a mutex is placed around the call to the system's crypt() function to ensure thread safety. This mutex is necessary to close a bunch of possible attacks on the libc crypt() function on multi threaded systems.
OWASP Risk EvaluationFriday, May 11. 2007Friday, May 11. 2007 When you read the OWASP risk evaluation standard carefully you might get as confused as I got. They estimate the risk by first estimating the likelihood and then estimating the technical and business impact. The estimation is done by assigning the numbers 0..9 to a number of factors.
Watching the PHP CVSThursday, May 10. 2007Thursday, May 10. 2007 One of the worst things in PHP security is the fact that vulnerabilities in PHP are usually patched in the CVS and then wait for months until they are disclosed to the public. Time enough for everyone to grab the fixes from CVS and develop exploits for the vulnerabilities. Therefore PHP vulnerabilities are usually already known to the bad guys for weeks or months when a new PHP version comes out and the public is notified about the vulnerability.
The PHP 5 challengeThursday, May 10. 2007Thursday, May 10. 2007 During the month of PHP bugs several people changed their credo from: "there are no vulnerabilities in PHP" to "vulnerabilities in PHP are not important, just tighten your OS". Other claimed that you can not rely on safe_mode and that you can always use shell_exec() to execute everything on the system.
Continue reading "The PHP 5 challenge" Ed Finkler discusses Month Of PHP BugsTuesday, May 1. 2007Tuesday, May 1. 2007 Today I learned about a podcast interview of Ed Finkler one of the members of the PHP Security Consortium. I heard through the first 30 minutes and was kinda bored because it was not really about PHP Security but about educating PHP developers, which is a subtopic of PHP Application Security which itself is a subtopic of PHP Security. I already wanted to switch it off when at around 34:32 they started talking about the Month of PHP Bugs.
Continue reading "Ed Finkler discusses Month Of PHP Bugs" Misunderstanding JavaScript HijackingSaturday, April 7. 2007Saturday, April 7. 2007 Very recently there has been a new paper about what the authors call JavaScript Hijacking. It is about an analysis of several JavaScript frameworks for a cross domain data retrieval vulnerability through the usage of the <script> tag. The paper comes to the conclusion that in nearly all JavaScript frameworks that work with JSON encoded data, the data can be retrieved cross domain via the <script> tag.
Holes in most preg_match() filtersWednesday, April 4. 2007Wednesday, April 4. 2007 During the last week I was performing some audits and like so often it contained preg_match() filters that were not correct. Most PHP developers use ^ and $ within their regular expressions without actually reading the documentation about what they really achieve. You will find a lot of input filters like the following one. <?phpQuite common way to filter incoming data, isn't it? However the problem is, that the author of such a regular expression did not correctly read the documentation and mistakes the $ character for the definitive end of the subject. However the real meaning, as it is even documented in the PHP manual is that $ means the end of the subject OR not the real end but nearly, only followed by a single '\n' linebreak. This means that the following request will also pass the filter. http://server.tld/index.php?var=012345:XYZ%0aIn several circumstances a newline character can be dangerous. For example when you want to stop HTTP Response Splitting or Email Injection attacks. To correct the above regular expression it is necessary to add the D modifier to it that changes the meaning of the $ specifier to really mean the end of the subject. Here is the corrected example. <?phpI hope this tip helps getting rid of all these wrong filters once and for all. People using ext/filter should prepare for a recompile, too.
« previous page
(Page 2 of 9, totalling 88 entries)
» next page
|
Calendar
Categories Syndicate This Blog |
|||||||||||||||||||||||||||||||||||||||||||||||||


