Oval Definition:oval:com.redhat.rhsa:def:20040392
Revision Date:2004-07-19Version:502
Title:RHSA-2004:392: php security update (Important)
Description:PHP is an HTML-embedded scripting language commonly used with the Apache HTTP server.

Stefan Esser discovered a flaw when memory_limit is enabled in versions of PHP 4 before 4.3.8. If a remote attacker could force the PHP interpreter to allocate more memory than the memory_limit setting before script execution begins, then the attacker may be able to supply the contents of a PHP hash table remotely. This hash table could then be used to execute arbitrary code as the 'apache' user. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0594 to this issue.

This issue has a higher risk when PHP is running on an instance of Apache which is vulnerable to CAN-2004-0493. For Red Hat Enterprise Linux 3, this Apache memory exhaustion issue was fixed by a previous update, RHSA-2004:342. It may also be possible to exploit this issue if using a non-default PHP configuration with the "register_defaults" setting is changed to "On". Red Hat does not believe that this flaw is exploitable in the default configuration of Red Hat Enterprise Linux 3.

Stefan Esser discovered a flaw in the strip_tags function in versions of PHP before 4.3.8. The strip_tags function is commonly used by PHP scripts to prevent Cross-Site-Scripting attacks by removing HTML tags from user-supplied form data. By embedding NUL bytes into form data, HTML tags can in some cases be passed intact through the strip_tags function, which may allow a Cross-Site-Scripting attack. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0595 to this issue.

All users of PHP are advised to upgrade to these updated packages, which contain backported patches that address these issues.
Family:unixClass:patch
Status:Reference(s):CVE-2004-0594
CVE-2004-0595
RHSA-2004:392-01
Platform(s):Red Hat Enterprise Linux 3
Product(s):
Definition Synopsis
  • Red Hat Enterprise Linux 3 is installed
  • AND Package Information
  • php-odbc is earlier than 0:4.3.2-11.1.ent
  • AND php-odbc is signed with Red Hat master key
  • OR
  • php-mysql is earlier than 0:4.3.2-11.1.ent
  • AND php-mysql is signed with Red Hat master key
  • OR
  • php is earlier than 0:4.3.2-11.1.ent
  • AND php is signed with Red Hat master key
  • OR
  • php-pgsql is earlier than 0:4.3.2-11.1.ent
  • AND php-pgsql is signed with Red Hat master key
  • OR
  • php-devel is earlier than 0:4.3.2-11.1.ent
  • AND php-devel is signed with Red Hat master key
  • OR
  • php-imap is earlier than 0:4.3.2-11.1.ent
  • AND php-imap is signed with Red Hat master key
  • OR
  • php-ldap is earlier than 0:4.3.2-11.1.ent
  • AND php-ldap is signed with Red Hat master key
  • BACK