Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Red Hat Linux Advisories: PHP, Ethereal

Jul 03, 2003, 12:56 (0 Talkback[s])

Red Hat Security Advisory

Synopsis: Updated PHP packages are now available
Advisory ID: RHSA-2003:204-01
Issue date: 2003-07-02
Updated on: 2003-07-02
Product: Red Hat Linux
Keywords: PHP Cross-Site-Scripting use_trans_sid session
Cross references:  
Obsoletes: RHSA-2003:017
CVE Names: CAN-2003-0442

1. Topic:

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.

2. Relevant releases/architectures:

Red Hat Linux 8.0 - i386
Red Hat Linux 9 - i386

3. Problem description:

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.

4. 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.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

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

6. RPMs required:

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/php-4.2.2-8.0.8.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/php-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-devel-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-imap-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-ldap-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-manual-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-mysql-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-pgsql-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-odbc-4.2.2-8.0.8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/php-snmp-4.2.2-8.0.8.i386.rpm

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/php-4.2.2-17.2.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/php-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-devel-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-imap-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-ldap-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-manual-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-mysql-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-pgsql-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-odbc-4.2.2-17.2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/php-snmp-4.2.2-17.2.i386.rpm

7. Verification:

MD5 sum Package Name


560ff87c3cde98119807757d132d0f45 8.0/en/os/SRPMS/php-4.2.2-8.0.8.src.rpm
b10a6009feb81f9b1c82a697e0656493 8.0/en/os/i386/php-4.2.2-8.0.8.i386.rpm
943656c277ebc23c31255198c54a9a56 8.0/en/os/i386/php-devel-4.2.2-8.0.8.i386.rpm
360bc50adeff3ea63c40dec86f508eb8 8.0/en/os/i386/php-imap-4.2.2-8.0.8.i386.rpm
6e43c48de793918288545ebf6a5aab4b 8.0/en/os/i386/php-ldap-4.2.2-8.0.8.i386.rpm
14c477164b1817bbf7e0a871efc700ee 8.0/en/os/i386/php-manual-4.2.2-8.0.8.i386.rpm
bf9c4e99fadab5f93fc877e5b24ab9df 8.0/en/os/i386/php-mysql-4.2.2-8.0.8.i386.rpm
dc07e9a995c5398f0d63cc8165862941 8.0/en/os/i386/php-odbc-4.2.2-8.0.8.i386.rpm
eb067da7cdcbd8903f78565a06772160 8.0/en/os/i386/php-pgsql-4.2.2-8.0.8.i386.rpm
e59bf6e5be9d842d53b36dc8a94cd540 8.0/en/os/i386/php-snmp-4.2.2-8.0.8.i386.rpm
58d47e8d632568ae24904758346386e5 9/en/os/SRPMS/php-4.2.2-17.2.src.rpm
99c255c7b720b618400b489963bc36eb 9/en/os/i386/php-4.2.2-17.2.i386.rpm
b97683331aa3fa14f468cf40bc702310 9/en/os/i386/php-devel-4.2.2-17.2.i386.rpm
2177a59347b9ac07ef1a05df1e3f6f64 9/en/os/i386/php-imap-4.2.2-17.2.i386.rpm
46660b9266a2734569e31a603194297a 9/en/os/i386/php-ldap-4.2.2-17.2.i386.rpm
fd1ee7abe9ceb903c34f4906d8a2b84d 9/en/os/i386/php-manual-4.2.2-17.2.i386.rpm
0c468aa0865f6a1ee0a03b6b910d5a71 9/en/os/i386/php-mysql-4.2.2-17.2.i386.rpm
4bffd859248a76ca77cc62fce679c221 9/en/os/i386/php-odbc-4.2.2-17.2.i386.rpm
8e408afd7a2ba97943012d8e278d277d 9/en/os/i386/php-pgsql-4.2.2-17.2.i386.rpm
ee20ed32d723e59fb37e2b9d7c06c953 9/en/os/i386/php-snmp-4.2.2-17.2.i386.rpm

These packages are GPG signed by Red Hat for security. Our key is available from http://www.redhat.com/security/keys.html

You can verify each package with the following command:

rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum <filename>

8. References:

http://shh.thathost.com/secadv/2003-05-11-php.txt http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0442

9. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact details at http://www.redhat.com/solutions/security/news/contact.html


Red Hat Security Advisory

Synopsis: Updated Ethereal packages fix security issues
Advisory ID: RHSA-2003:203-01
Issue date: 2003-07-03
Updated on: 2003-07-03
Product: Red Hat Linux
Keywords: ethereal SOCKS buffer overflow
Cross references:  
Obsoletes: RHSA-2003:076
CVE Names: CAN-2003-0356 CAN-2003-0357 CAN-2003-0428 CAN-2003-0429 CAN-2003-0430 CAN-2003-0431 CAN-2003-0432

1. Topic:

Updated Ethereal packages available to fix a number of remotely exploitable security issues

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386
Red Hat Linux 9 - i386

3. Problem description:

Ethereal is a program for monitoring network traffic.

A number of security issues affect Ethereal. By exploiting these issues it may be possible to make Ethereal crash or run arbitrary code by injecting a purposefully malformed packet onto the wire or by convincing someone to read a malformed packet trace file.

Multiple off-by-one vulnerabilities exist in Ethereal 0.9.11 and earlier in the AIM, GIOP Gryphon, OSPF, PPTP, Quake, Quake2, Quake3, Rsync, SMB, SMPP, and TSP dissectors. They do not properly use the tvb_get_nstringz and tvb_get_nstringz0 functions. Common Vulnerabilities and Exposures project (cve.mitre.org/) has assigned the name CAN-2003-0356 to these issues.

Multiple integer overflow vulnerabilities exist in Ethereal 0.9.11 and earlier in the Mount and PPP dissectors. (CAN-2003-0357)

A vulnerability in the DCERPC dissector exists in Ethereal 0.9.12 and earlier, allowing remote attackers to cause a denial of service (memory consumption) via a certain NDR string. (CAN-2003-0428)

The OSI dissector in Ethereal 0.9.12 and earlier causes by invalid IPv4 or IPv6 prefix lengths, possibly triggering a buffer overflow. (CAN-2003-0429)

The SPNEGO dissector in Ethereal 0.9.12 and earlier allows remote attackers to cause a denial of service (crash) via an invalid ASN.1 value. (CAN-2003-0430)

The tvb_get_nstringz0 function in Ethereal 0.9.12 and earlier does not properly handle a zero-length buffer size. (CAN-2003-0431)

Ethereal 0.9.12 and earlier does not handle certain strings properly in the BGP, WTP, DNS, 802.11, ISAKMP, WSP, CLNP, ISIS, and RMI dissectors. (CAN-2003-0432)

Users of Ethereal should update to the erratum packages containing Ethereal version 0.9.13, which are not vulnerable to these issues.

4. Solution:

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

Please note that this update is available via Red Hat Network. 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.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

85179 - SOCKS format string vuln in Ethereal 0.9.8/9

6. RPMs required:

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/ethereal-0.9.13-1.72.1.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/ethereal-0.9.13-1.72.1.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/ethereal-gnome-0.9.13-1.72.1.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/ethereal-0.9.13-1.72.1.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/ethereal-gnome-0.9.13-1.72.1.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/ethereal-0.9.13-1.73.1.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/ethereal-0.9.13-1.73.1.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/ethereal-gnome-0.9.13-1.73.1.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/ethereal-0.9.13-1.80.1.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/ethereal-0.9.13-1.80.1.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/ethereal-gnome-0.9.13-1.80.1.i386.rpm

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/ethereal-0.9.13-1.90.1.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/ethereal-0.9.13-1.90.1.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/ethereal-gnome-0.9.13-1.90.1.i386.rpm

7. Verification:

MD5 sum Package Name


bd9ea773029a00543c2b86efd2f253db 7.2/en/os/SRPMS/ethereal-0.9.13-1.72.1.src.rpm
adda580cd763deba0940b47d2cb28f20 7.2/en/os/i386/ethereal-0.9.13-1.72.1.i386.rpm
dbe53fa5716f9cee9859c1d4435d2e76 7.2/en/os/i386/ethereal-gnome-0.9.13-1.72.1.i386.rpm
52f6b8ceacc3946743c116ea41af9651 7.2/en/os/ia64/ethereal-0.9.13-1.72.1.ia64.rpm
23de069f33cd2da4c40c60288ae9e10b 7.2/en/os/ia64/ethereal-gnome-0.9.13-1.72.1.ia64.rpm
189f889e31de3bb9efd06b55282f741e 7.3/en/os/SRPMS/ethereal-0.9.13-1.73.1.src.rpm
3bc7319ef3cf5dcd3fc491eb323bd473 7.3/en/os/i386/ethereal-0.9.13-1.73.1.i386.rpm
a7c84fc309ff33b5666de9f298946f6f 7.3/en/os/i386/ethereal-gnome-0.9.13-1.73.1.i386.rpm
ac016f9ed706b0cf8d75be2ccced0a4c 8.0/en/os/SRPMS/ethereal-0.9.13-1.80.1.src.rpm
3ab512b8de7c7ad17bf43b7b0d4307ed 8.0/en/os/i386/ethereal-0.9.13-1.80.1.i386.rpm
0f4961aa67c6540c735c9ed4959881ef 8.0/en/os/i386/ethereal-gnome-0.9.13-1.80.1.i386.rpm
28cd7262e8f2d814bec2a871961d7444 9/en/os/SRPMS/ethereal-0.9.13-1.90.1.src.rpm
7253c66d80ce49bc79c0cd8749c710e3 9/en/os/i386/ethereal-0.9.13-1.90.1.i386.rpm
3d3394064db2d9ece3568b6af251575a 9/en/os/i386/ethereal-gnome-0.9.13-1.90.1.i386.rpm

These packages are GPG signed by Red Hat for security. Our key is available from http://www.redhat.com/security/keys.html

You can verify each package with the following command:

rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum <filename>

8. References:

http://www.ethereal.com/appnotes/enpa-sa-00009.html
http://www.ethereal.com/appnotes/enpa-sa-00010.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0356
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0357
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0428
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0429
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0430
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0431
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0432

9. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact details at http://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.