Ubuntu 4.10 / 5.04 : php4 vulnerabilities (USN-171-1)

Ubuntu Security Notice (C) 2005-2014 Canonical, Inc. / NASL script (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Ubuntu host is missing one or more security-related patches.

Description :

CAN-2005-1751 :

The php4-dev package ships a copy of the 'shtool' utility in
/usr/lib/php4/build/, which provides useful functionality for
developers of software packages. Eric Romang discovered that shtool
created temporary files in an insecure manner. This could allow a
symlink attack to create or overwrite arbitrary files with the
privileges of the user invoking the shtool program.

CAN-1005-1759 :

The creation of temporary files in shtool was also vulnerable to a
race condition which allowed a local user to read the contents of the
temporary file. However, this file does not usually contain sensitive
information since shtool is usually used for building software
packages.

CAN-2005-2498 :

Stefan Esser discovered another remote code execution vulnerability in
the XMLRPC module of the PEAR (PHP Extension and Application
Repository) extension of PHP. By sending specially crafted XMLRPC
requests to an affected web server, a remote attacker could exploit
this to execute arbitrary code with the web server's privileges.

In Ubuntu, the PEAR extension is unsupported (it is
contained in the php4-pear package which is part of
universe). However, since this is a highly critical
vulnerability, that package was fixed anyway.

Please note that many applications contain a copy of the
affected XMLRPC code, which must be fixed separately. The
following packages may also be affected, but are unsupported
in Ubuntu :

- drupal - wordpress - phpwiki - horde3 - ewiki -
egroupware - phpgroupware

These packages might be fixed by the community later.

The following common third-party applications might be
affected as well, but not packaged for Ubuntu :

- Serendipity - Postnuke - tikiwiki - phpwebsite

If you run any affected software, please check whether
you are affected and upgrade it as soon as possible to
protect your server.

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 20578 ()

Bugtraq ID:

CVE ID: CVE-2005-1751
CVE-2005-1759
CVE-2005-2498