<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 13:45:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[P&aacute;draic Brady: Getting Ahead In Security By Watching The Neighbours]]></title>
      <guid>http://www.phpdeveloper.org/news/19061</guid>
      <link>http://www.phpdeveloper.org/news/19061</link>
      <description><![CDATA[<p>
In <a href="http://blog.astrumfutura.com/2013/01/getting-ahead-in-security-by-watching-the-neighbours/">his latest post</a> <i>Padraic Brady</i> talks some about the recent security issues that <a href="https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion">happened with Ruby on Rails</a> that allowed for remote code execution and how, if you use code blindly, you could be in for a similar fate.
</p>
<blockquote>
<p>
Code execution vulnerabilities are, by definition, hideous monsters. The ability for external inputs to enter an execution context (i.e. injecting or manipulating code that is executed on the server) can be difficult to spot through the haze of convenience that such machinations are often designed to deliver. In Rail's case, that convenience was to automatically cast data entries in XML or YAML inputs into Ruby types including, unfortunately, Symbols and Objects. 
</p>
<p>
These types of "buried" code execution vulnerabilities are still easy to locate in PHP, at least, because you are still restricted to normal code execution pathways in the absence of Ruby's dark magic, e.g. eval(), include(), require_once(), system() and, let's not forget, unserialize(). 
</p>
</blockquote>
<p>
He talks about how, if you're not careful with the code (third party libraries) that you use in your applications - or don't adhere to good security practices in your own - you could be vulnerable to a similar style of attack. After some investigation on his part, he discovered an issue related to this in the Symfony2 YAML parser (<a href="http://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released">now fixed</a> with a new release). 
</p>
<blockquote>
To summarise…

Pay attention to competing applications or frameworks - their problems may also be your problems. If you're worried about arbitrary code execution vulnerabilities then audit your code. You can even, as a sanity check, use grep to find uses of functions like eval(), unserialize(), etc and analyse where their parameters' might originate from. 
</blockquote>]]></description>
      <pubDate>Fri, 18 Jan 2013 11:53:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: 5 More PHP Security Vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/18740</guid>
      <link>http://www.phpdeveloper.org/news/18740</link>
      <description><![CDATA[<p>
On PHPMaster.com there's a continuance of a <a href="http://phpmaster.com/top-10-php-security-vulnerabilities/">previous article</a> about security in PHP applications talking about a few more considerations when trying to <a href="http://phpmaster.com/5-more-php-security-vulnerabilities/">make things secure</a>.
</p>
<blockquote>
In a <a href="http://phpmaster.com/top-10-php-security-vulnerabilities/">previous article</a>, I talked about some common security vulnerabilities that can affect your PHP web application. But there are other things besides those ten (okay, seven) attacks to think about when you're developing. And so, this article offers a compendium of miscellaneous things that are security related; things you should do, things you shouldn't do, things that other people might try to do, whatever it takes to make an article long enough for my editor to be satisfied with it.
</blockquote>
<p>
He talks some about the settings that you might need to tweak in your "php.ini" server-side configuration file, some hints on filtering data (like using <a href="http://php.net/filter_input">filter_input</a>) and what to watch out for with error reporting. He also mentions session fixation and the protection of user data and passwords to keep them out of the hands of would-be attackers.
</p>]]></description>
      <pubDate>Tue, 13 Nov 2012 14:42:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4.3 and PHP 5.3.13 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/17932</guid>
      <link>http://www.phpdeveloper.org/news/17932</link>
      <description><![CDATA[<p>
The PHP project has released another update to both the 5.3.x and 5.4 revisions of the language <a href="http://www.php.net/archive/2012.php#id2012-05-08-1">correcting the bug</a> that was found dealing with a flaw in CGI-based setups.
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP 5.4.3 and PHP 5.3.13. All users are encouraged to upgrade to PHP 5.4.3 or PHP 5.3.13 The releases complete a fix for a <a href="http://www.php.net/archive/2012.php#id2012-05-03-1">vulnerability</a> in CGI-based setups (CVE-2012-2311). Note: mod_php and php-fpm are not vulnerable to this attack. PHP 5.4.3 fixes a buffer overflow vulnerability in the <a href="http://php.net/manual/function.apache-request-headers.php">apache_request_headers()</a> (CVE-2012-2329). The PHP 5.3 series is not vulnerable to this issue.
</blockquote>
<p>
Users are encouraged to upgrade their applications, especially those using CGI-based setups. You can find the latest source on <a href="http://www.php.net/downloads.php">the downloads page</a> and the Windows binaries on <a href="http://windows.php.net/download/">windows.php.net</a>.
</p>]]></description>
      <pubDate>Wed, 09 May 2012 07:10:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.10 Released (Security Fix - Recommended Upgrade)]]></title>
      <guid>http://www.phpdeveloper.org/news/17492</guid>
      <link>http://www.phpdeveloper.org/news/17492</link>
      <description><![CDATA[<p>
The PHP development team has <a href="http://www.php.net/index.php#id2012-02-02-1">officially announced</a> the release of the latest version of PHP in the 5.3.x series - <a href="http://www.php.net/downloads.php">PHP 5.3.10</a>:
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP 5.3.10. This release delivers a critical security fix. [...] Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830.
</blockquote>
<p>
It is highly recommended that users upgrade to this latest version to avoid falling victim to <a href="http://thexploit.com/sec/critical-php-remote-vulnerability-introduced-in-fix-for-php-hashtable-collision-dos/">this recently introduced bug</a> relating to the new "max_input_vars" setting added to protect from the overflow issue <a href="http://phpdeveloper.org/news/17322">recently brought up</a> in the PHP community.
</p>]]></description>
      <pubDate>Fri, 03 Feb 2012 08:01:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: PHP Vulnerability May Halt Millions of Servers]]></title>
      <guid>http://www.phpdeveloper.org/news/17382</guid>
      <link>http://www.phpdeveloper.org/news/17382</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's a new post looking at <a href="http://www.phpclasses.org/blog/post/171-PHP-Vulnerability-May-Halt-Millions-of-Servers.html">the security vulnerability</a> that effected not only PHP but lots of other languages making them susceptible to attack from the outside.
</p>
<blockquote>
In PHP and several other languages used to implement Web applications, arrays are used to store the values of request variables such as $_GET, $_POST, $COOKIE, etc.. IF you receive a request with a large number of request values, until recent versions PHP may run into trouble.
</blockquote>
<p>
He goes on to explain why there's an issue with the array overloading and what PHP has done in recent releases to help correct the issue - the max_input_vars setting in the php.ini. He also points out that this is not a new issue - it was originally identified back in 2003 (with a video of the original presentation). He points out that the most recent releases of the PHP language have this fix in them and, if at all possible, you should upgrade to protect your applications.
</p>]]></description>
      <pubDate>Thu, 12 Jan 2012 08:21:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Protection and Methodologies of Security Vulnerabilities in Web Development]]></title>
      <guid>http://www.phpdeveloper.org/news/16731</guid>
      <link>http://www.phpdeveloper.org/news/16731</link>
      <description><![CDATA[<p>
On the Script Tutorials blog today there's a good summary post reminding you of some of the <a href="http://www.script-tutorials.com/security-vulnerabilities-in-web-development-and-how-they-work/">common security issues</a> that your web application can face, mostly due to improper validation and filtering.
</p>
<blockquote>
Our new article focuses on security in web. Many beginners (and not only) web programmers sometimes can make mistakes when developing its web applications. Our article is intended to eliminate potential gaps in knowledge web developers. It is quite possible that you already know something, but I'll be incredibly happy if you learn anything new. Today we learn about most popular exploits (with samples).
</blockquote>
<p>Security issues that made their list include:</p>
<ul>
<li>SQL injections
<li>Cross-site scripting/Cross-site Request Forgeries
<li>Remote & local file inclusion
<li>Displaying errors on production
<li>Including .svn (or any version control meta) files in the production release
</ul>]]></description>
      <pubDate>Wed, 17 Aug 2011 11:16:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ruslan Yakushev's Blog: ASP.NET vulnerability affecting PHP sites on IIS]]></title>
      <guid>http://www.phpdeveloper.org/news/15173</guid>
      <link>http://www.phpdeveloper.org/news/15173</link>
      <description><![CDATA[<p>
As <i>Ruslan Yakushev</i> points out <a href="http://ruslany.net/2010/09/asp-net-vulnerability-affecting-php-sites-on-iis/">in this new blog entry</a>, the same security issue that's effecting ASP.NET pages running on IIS web servers can still open up PHP scripts running on the same server.
</p>
<blockquote>
Microsoft has recently released a Security Advisory about a security vulnerability in ASP.NET. This vulnerability exists in all versions of ASP.NET. The PHP applications running on IIS are also subject to this vulnerability if ASP.NET is enabled in IIS.
</blockquote>
<p>
The issue allows attackers to access the contents of various files on the server and could allow them to tamper with the data inside. <i>Ruslan</i> notes that, while Microsoft is coming up with a fix, one of the safest things you can do is either completely disable ASP.NET in the IIS server or <a href="http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspx">use this workaround</a>.
</p>]]></description>
      <pubDate>Thu, 23 Sep 2010 08:50:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Possible vulnerabilities found in PHP session IDs ]]></title>
      <guid>http://www.phpdeveloper.org/news/14331</guid>
      <link>http://www.phpdeveloper.org/news/14331</link>
      <description><![CDATA[<p>
<i>Beth Tucker Long</i> has posted a new warning <a href="http://www.phparch.com/2010/04/09/possible-vulnerabilities-found-in-php-session-ids">about a possible issue with session IDs</a> in PHP dealing with <a href="http://seclists.org/fulldisclosure/2010/Mar/519">weak random numbers</a> being generated by the language when making the IDs.
</p>
<blockquote>
Seclists.org has posted an advisory titled "<a href="http://seclists.org/fulldisclosure/2010/Mar/519">Weak RNG in PHP session ID generation leads to session hijacking</a>." RNG stands for Random Number Generation, and the advisory is warning that not enough entropy is being used to seed the RNG; this, in turn, can lead to a reduced number of possible session IDs under certain specific conditions, thus making brute force session spoofing easier, if not bringing it into the realm of feasibility.
</blockquote>
<p>
The threat is only marked at a "medium" level of severity, but it could still cause problems if you're not careful. There are specific conditions that have to be in place for it to be a problem including using the standard PHP session generation and that the app shares the information about remote users. To protect yourself you can either install <a href="http://www.hardened-php.net/suhosin/">Suhosin</a> and don't use the result of <a href="http://php.net/uniqid</a> directly, hash it. You can also <a href="http://www.php.net/manual/en/session.configuration.php#ini.session.entropy-file">set an external source</a> for entropy to help randomize the session ID even more.
</p>]]></description>
      <pubDate>Mon, 12 Apr 2010 08:29:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: Net_Traceroute and Net_Ping security advisory]]></title>
      <guid>http://www.phpdeveloper.org/news/13535</guid>
      <link>http://www.phpdeveloper.org/news/13535</link>
      <description><![CDATA[<p>
<a href="http://blog.pear.php.net/2009/11/14/net_traceroute-and-net_ping-security-advisory/">An advisory has been issued</a> on the PEAR blog about two packages - Net_Traceroute and Net_Ping - that could expose your site to a security issue, a remote arbitrary command injection.
</p>
<blockquote>
Net_Ping is an OS independent wrapper class for executing ping calls from PHP. Net_Traceroute is an OS independent wrapper class for executing traceroute calls from PHP. When input from forms are used directly, the attacker could pass variables that would allow him to execute remote arbitrary command injections.
</blockquote>
<p>
You can use filtering as a workaround until your packages are updated on your server. You can upgrade to the latest packages here: <a href="http://blog.pear.php.net/2009/11/14/net_traceroute-and-net_ping-security-advisory/#%20%20http://download.pear.php.net/package/Net_Ping-2.4.5.tgz">Net_Ping</a>, <a href="http://download.pear.php.net/package/Net_Traceroute-0.21.2.tgz">Net_Traceroute</a>.
</p>]]></description>
      <pubDate>Mon, 16 Nov 2009 07:56:43 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rafael Dohms' Blog: PHP Security: Are you paying attention?]]></title>
      <guid>http://www.phpdeveloper.org/news/13327</guid>
      <link>http://www.phpdeveloper.org/news/13327</link>
      <description><![CDATA[<p>
In <a href="http://www.rafaeldohms.com.br/2009/09/29/php-security-are-you-paying-attention/en/">a recent post</a> to his blog <i>Rafael Dohms</i> reminds readers to not forget about the security of their applications because it can be "a huge mistake which can take a turn for the worse."
</p>
<blockquote>
I have ran into lots of excuses for ignoring security in the past, one of them is the recurring "This is just a simple application, it has no sensitive data",  this may be a valid point for the person repeating it like a mantra, especially because this person is generally suffering of great pressures , short timeframes and a lack of proper management ready to deal with web development. [...] Whatever the reason is for neglecting security the consequences can escalate much higher then the "non-sensitive data" of the application.
</blockquote>
<p>
He looks at a specific case where a security issue was found in a large Brazillian mobile company's website that was caused by improper filtering on a $_GET parameter, leaving it open to possible attack. Through it, he could load the information for sensitive system-related files and found more on the machine than just the site he was working with.
</p>]]></description>
      <pubDate>Fri, 02 Oct 2009 12:27:18 -0500</pubDate>
    </item>
  </channel>
</rss>
