[Full-disclosure] [ GLSA 200610-14 ] PHP: Integer overflow



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200610-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: PHP: Integer overflow
Date: October 30, 2006
Bugs: #150261
ID: 200610-14

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

PHP is vulnerable to an integer overflow potentially allowing the
remote execution of arbitrary code.

Background
==========

PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/php < 5.1.6-r6 *>= 4.4.4-r6
>= 5.1.6-r6

Description
===========

A flaw in the PHP memory handling routines allows an unserialize() call
to be executed on non-allocated memory due to a previous integer
overflow.

Impact
======

An attacker could execute arbitrary code with the rights of the web
server user or the user running a vulnerable PHP script.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All PHP 5.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.6-r6"

All PHP 4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.4-r6"

References
==========

[ 1 ] CVE-2006-4812
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4812

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200610-14.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: pgp0SoL2tbEXE.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • [UNIX] PHP unserialize() Array Creation Integer Overflow
    ... Get your security news from a reliable source. ... PHP unserialize() Array Creation Integer Overflow ...
    (Securiteam)
  • [ GLSA 200608-28 ] PHP: Arbitary code execution
    ... Title: PHP: Arbitary code execution ... PHP contains a function that, when used, could allow a remote attacker ... A remote attacker might be able to exploit this vulnerability in PHP ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • [Full-disclosure] [ GLSA 200703-21 ] PHP: Multiple vulnerabilities
    ... PHP contains several vulnerabilities including a heap buffer overflow, ... resulting in the execution of arbitrary code, Denial of Service, ... security bypass or information leak. ...
    (Full-Disclosure)
  • [ GLSA 200703-21 ] PHP: Multiple vulnerabilities
    ... PHP contains several vulnerabilities including a heap buffer overflow, ... resulting in the execution of arbitrary code, Denial of Service, ... security bypass or information leak. ...
    (Bugtraq)
  • Re: PHPMailer - False Positives
    ... My problem is that the PHPMailer action is returning a "true" result ... Initially the script created a new object for each email (sending them ... each execution), but the fault was evident in each configuration. ... PHP Classes - Free ready to use OOP components written in PHP ...
    (comp.lang.php)