Security Advisory Updated PHP packages are now available

Advisory: RHSA-2003:204-11
Type: Security Advisory
Severity: N/A
Issued on: 2003-07-02
Last updated on: 2003-07-02
Affected Products: Red Hat Linux 8.0
Red Hat Linux 9
OVAL: N/A
CVEs (cve.mitre.org): CVE-2003-0442

Details

Updated PHP packages for Red Hat Linux 8.0 and 9 are available that fix a
number of bugs, as well as a minor security problem in the transparent
session ID functionality.

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP server.

This update contains fixes for a number of bugs discovered in the version
of PHP included in Red Hat Linux 8.0 and 9. These bugs include the use of
a PHP script as an ErrorDocument and possible POST body corruption in some
configurations.

Also included is a fix for a minor security problem. In PHP version 4.3.1
and earlier, when transparent session ID support is enabled using the
"session.use_trans_sid" option, the session ID is not escaped before use.
This allows a Cross Site Scripting attack. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2003-0442 to
this issue.

All users of PHP are advised to upgrade to these erratum packages, which
contain back-ported patches to correct these issues.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Linux 8.0

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/php-4.2.2-8.0.8.src.rpm
Missing file
    560ff87c3cde98119807757d132d0f45
 
IA-32:
ftp://updates.redhat.com/8.0/en/os/i386/php-4.2.2-8.0.8.i386.rpm
Missing file
    b10a6009feb81f9b1c82a697e0656493
ftp://updates.redhat.com/8.0/en/os/i386/php-devel-4.2.2-8.0.8.i386.rpm
Missing file
    943656c277ebc23c31255198c54a9a56
ftp://updates.redhat.com/8.0/en/os/i386/php-imap-4.2.2-8.0.8.i386.rpm
Missing file
    360bc50adeff3ea63c40dec86f508eb8
ftp://updates.redhat.com/8.0/en/os/i386/php-ldap-4.2.2-8.0.8.i386.rpm
Missing file
    6e43c48de793918288545ebf6a5aab4b
ftp://updates.redhat.com/8.0/en/os/i386/php-manual-4.2.2-8.0.8.i386.rpm
Missing file
    14c477164b1817bbf7e0a871efc700ee
ftp://updates.redhat.com/8.0/en/os/i386/php-mysql-4.2.2-8.0.8.i386.rpm
Missing file
    bf9c4e99fadab5f93fc877e5b24ab9df
ftp://updates.redhat.com/8.0/en/os/i386/php-odbc-4.2.2-8.0.8.i386.rpm
Missing file
    dc07e9a995c5398f0d63cc8165862941
ftp://updates.redhat.com/8.0/en/os/i386/php-pgsql-4.2.2-8.0.8.i386.rpm
Missing file
    eb067da7cdcbd8903f78565a06772160
ftp://updates.redhat.com/8.0/en/os/i386/php-snmp-4.2.2-8.0.8.i386.rpm
Missing file
    e59bf6e5be9d842d53b36dc8a94cd540
 
Red Hat Linux 9

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/php-4.2.2-17.2.src.rpm
Missing file
    58d47e8d632568ae24904758346386e5
 
IA-32:
ftp://updates.redhat.com/9/en/os/i386/php-4.2.2-17.2.i386.rpm
Missing file
    99c255c7b720b618400b489963bc36eb
ftp://updates.redhat.com/9/en/os/i386/php-devel-4.2.2-17.2.i386.rpm
Missing file
    b97683331aa3fa14f468cf40bc702310
ftp://updates.redhat.com/9/en/os/i386/php-imap-4.2.2-17.2.i386.rpm
Missing file
    2177a59347b9ac07ef1a05df1e3f6f64
ftp://updates.redhat.com/9/en/os/i386/php-ldap-4.2.2-17.2.i386.rpm
Missing file
    46660b9266a2734569e31a603194297a
ftp://updates.redhat.com/9/en/os/i386/php-manual-4.2.2-17.2.i386.rpm
Missing file
    fd1ee7abe9ceb903c34f4906d8a2b84d
ftp://updates.redhat.com/9/en/os/i386/php-mysql-4.2.2-17.2.i386.rpm
Missing file
    0c468aa0865f6a1ee0a03b6b910d5a71
ftp://updates.redhat.com/9/en/os/i386/php-odbc-4.2.2-17.2.i386.rpm
Missing file
    4bffd859248a76ca77cc62fce679c221
ftp://updates.redhat.com/9/en/os/i386/php-pgsql-4.2.2-17.2.i386.rpm
Missing file
    8e408afd7a2ba97943012d8e278d277d
ftp://updates.redhat.com/9/en/os/i386/php-snmp-4.2.2-17.2.i386.rpm
Missing file
    ee20ed32d723e59fb37e2b9d7c06c953
 

Bugs fixed (see bugzilla for more information)

74761 - snmp module relocation error
82967 - POST body corruption in some configurations
84460 - pear/DB/pgsql.php incompatible with postgresql 7.3
84828 - exit() does not report correct exit code
85820 - ext/sockets.c has a bug in socket_write
91019 - ErrorDocument 401 /some_file.php does not work with apache2
91279 - Segfault using PHP with mod_negotiation


References


Keywords

Cross-Site-Scripting, PHP, session, use_trans_sid


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/