Ubuntu 1358-1: PHP vulnerabilities

    Date10 Feb 2012
    CategoryUbuntu
    40
    Posted ByLinuxSecurity Advisories
    Multiple vulnerabilities in PHP.
    ==========================================================================
    Ubuntu Security Notice USN-1358-1
    February 10, 2012
    
    php5 vulnerabilities
    ==========================================================================
    
    A security issue affects these releases of Ubuntu and its derivatives:
    
    - Ubuntu 11.10
    - Ubuntu 11.04
    - Ubuntu 10.10
    - Ubuntu 10.04 LTS
    - Ubuntu 8.04 LTS
    
    Summary:
    
    Multiple vulnerabilities in PHP.
    
    Software Description:
    - php5: HTML-embedded scripting language interpreter
    
    Details:
    
    It was discovered that PHP computed hash values for form parameters
    without restricting the ability to trigger hash collisions predictably.
    This could allow a remote attacker to cause a denial of service by
    sending many crafted parameters. (CVE-2011-4885)
    
    ATTENTION: this update changes previous PHP behavior by
    limiting the number of external input variables to 1000.
    This may be increased by adding a "max_input_vars"
    directive to the php.ini configuration file. See
    http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars
    for more information.
    
    Stefan Esser discovered that the fix to address the predictable hash
    collision issue, CVE-2011-4885, did not properly handle the situation
    where the limit was reached. This could allow a remote attacker to
    cause a denial of service or execute arbitrary code via a request
    containing a large number of variables. (CVE-2012-0830)
    
    It was discovered that PHP did not always check the return value of
    the zend_strndup function. This could allow a remote attacker to
    cause a denial of service. (CVE-2011-4153)
    
    It was discovered that PHP did not properly enforce libxslt security
    settings. This could allow a remote attacker to create arbitrary
    files via a crafted XSLT stylesheet that uses the libxslt output
    extension. (CVE-2012-0057)
    
    It was discovered that PHP did not properly enforce that PDORow
    objects could not be serialized and not be saved in a session. A
    remote attacker could use this to cause a denial of service via an
    application crash. (CVE-2012-0788)
    
    It was discovered that PHP allowed the magic_quotes_gpc setting to
    be disabled remotely. This could allow a remote attacker to bypass
    restrictions that could prevent an SQL injection. (CVE-2012-0831)
    
    USN 1126-1 addressed an issue where the /etc/cron.d/php5 cron job
    for PHP allowed local users to delete arbitrary files via a symlink
    attack on a directory under /var/lib/php5/. Emese Revfy discovered
    that the fix had not been applied to PHP for Ubuntu 10.04 LTS. This
    update corrects the issue. We apologize for the error. (CVE-2011-0441)
    
    Update instructions:
    
    The problem can be corrected by updating your system to the following
    package versions:
    
    Ubuntu 11.10:
      libapache2-mod-php5             5.3.6-13ubuntu3.5
      php5                            5.3.6-13ubuntu3.5
      php5-cgi                        5.3.6-13ubuntu3.5
      php5-cli                        5.3.6-13ubuntu3.5
      php5-common                     5.3.6-13ubuntu3.5
      php5-xsl                        5.3.6-13ubuntu3.5
    
    Ubuntu 11.04:
      libapache2-mod-php5             5.3.5-1ubuntu7.6
      php5                            5.3.5-1ubuntu7.6
      php5-cgi                        5.3.5-1ubuntu7.6
      php5-cli                        5.3.5-1ubuntu7.6
      php5-common                     5.3.5-1ubuntu7.6
      php5-xsl                        5.3.5-1ubuntu7.6
    
    Ubuntu 10.10:
      libapache2-mod-php5             5.3.3-1ubuntu9.9
      php5                            5.3.3-1ubuntu9.9
      php5-cgi                        5.3.3-1ubuntu9.9
      php5-cli                        5.3.3-1ubuntu9.9
      php5-common                     5.3.3-1ubuntu9.9
      php5-xsl                        5.3.3-1ubuntu9.9
    
    Ubuntu 10.04 LTS:
      libapache2-mod-php5             5.3.2-1ubuntu4.13
      php5                            5.3.2-1ubuntu4.13
      php5-cgi                        5.3.2-1ubuntu4.13
      php5-cli                        5.3.2-1ubuntu4.13
      php5-common                     5.3.2-1ubuntu4.13
      php5-xsl                        5.3.2-1ubuntu4.13
    
    Ubuntu 8.04 LTS:
      libapache2-mod-php5             5.2.4-2ubuntu5.22
      php5                            5.2.4-2ubuntu5.22
      php5-cgi                        5.2.4-2ubuntu5.22
      php5-cli                        5.2.4-2ubuntu5.22
      php5-common                     5.2.4-2ubuntu5.22
      php5-xsl                        5.2.4-2ubuntu5.22
    
    In general, a standard system update will make all the necessary changes.
    
    References:
      http://www.ubuntu.com/usn/usn-1358-1
      CVE-2011-0441, CVE-2011-4153, CVE-2011-4885, CVE-2012-0057,
      CVE-2012-0788, CVE-2012-0830, CVE-2012-0831
    
    Package Information:
      https://launchpad.net/ubuntu/+source/php5/5.3.6-13ubuntu3.5
      https://launchpad.net/ubuntu/+source/php5/5.3.5-1ubuntu7.6
      https://launchpad.net/ubuntu/+source/php5/5.3.3-1ubuntu9.9
      https://launchpad.net/ubuntu/+source/php5/5.3.2-1ubuntu4.13
      https://launchpad.net/ubuntu/+source/php5/5.2.4-2ubuntu5.22
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"25","type":"x","order":"1","pct":55.56,"resources":[]},{"id":"88","title":"Should be more technical","votes":"5","type":"x","order":"2","pct":11.11,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"15","type":"x","order":"3","pct":33.33,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.