Several remote vulnerabilities have been discovered in PHP, a
server-side, HTML-embedded scripting language, which may lead to the
execution of arbitrary code. The Common Vulnerabilities and Exposures
project identifies the following problems:
- CVE-2007-1286
Stefan Esser discovered an overflow in the object reference handling
code of the unserialize() function, which allows the execution of
arbitrary code if malformed input is passed from an application.
- CVE-2007-1375
Stefan Esser discovered that an integer overflow in the substr_compare()
function allows information disclosure of heap memory.
- CVE-2007-1376
Stefan Esser discovered that insufficient validation of shared memory
functions allows the disclosure of heap memory.
- CVE-2007-1380
Stefan Esser discovered that the session handler performs
insufficient validation of variable name length values, which allows
information disclosure through a heap information leak.
- CVE-2007-1453
Stefan Esser discovered that the filtering framework performs insufficient
input validation, which allows the execution of arbitrary code through a
buffer underflow.
- CVE-2007-1454
Stefan Esser discovered that the filtering framework can be bypassed
with a special whitespace character.
- CVE-2007-1521
Stefan Esser discovered a double free vulnerability in the
session_regenerate_id() function, which allows the execution of
arbitrary code.
- CVE-2007-1583
Stefan Esser discovered that a programming error in the mb_parse_str()
function allows the activation of register_globals.
- CVE-2007-1700
Stefan Esser discovered that the session extension incorrectly maintains
the reference count of session variables, which allows the execution of
arbitrary code.
- CVE-2007-1711
Stefan Esser discovered a double free vulnerability in the session
management code, which allows the execution of arbitrary code.
- CVE-2007-1718
Stefan Esser discovered that the mail() function performs
insufficient validation of folded mail headers, which allows mail
header injection.
- CVE-2007-1777
Stefan Esser discovered that the extension to handle ZIP archives
performs insufficient length checks, which allows the execution of
arbitrary code.
- CVE-2007-1824
Stefan Esser discovered an off-by-one error in the filtering framework, which
allows the execution of arbitrary code.
- CVE-2007-1887
Stefan Esser discovered that a buffer overflow in the sqlite extension
allows the execution of arbitrary code.
- CVE-2007-1889
Stefan Esser discovered that the PHP memory manager performs an
incorrect type cast, which allows the execution of arbitrary code
through buffer overflows.
- CVE-2007-1900
Stefan Esser discovered that incorrect validation in the email filter
extension allows the injection of mail headers.
The oldstable distribution (sarge) doesn’t include php5.
For the stable distribution (etch) these problems have been fixed
in version 5.2.0-8+etch3.
For the unstable distribution (sid) these problems have been fixed in
version 5.2.0-11.
We recommend that you upgrade your PHP packages. Packages for the arm,
hppa, mips and mipsel architectures are not yet available. They will be
provided later.