- Issued:
- 2006-05-23
- Updated:
- 2006-05-23
RHSA-2006:0501 - Security Advisory
Synopsis
php security update
Type/Severity
Security Advisory: Moderate
Topic
Updated PHP packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 2.1.
This update has been rated as having moderate security impact by the Red
Hat Security Response Team.
Description
PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Web server.
The phpinfo() PHP function did not properly sanitize long strings. An
attacker could use this to perform cross-site scripting attacks against
sites that have publicly-available PHP scripts that call phpinfo().
(CVE-2006-0996)
The error handling output was found to not properly escape HTML output in
certain cases. An attacker could use this flaw to perform cross-site
scripting attacks against sites where both display_errors and html_errors
are enabled. (CVE-2006-0208)
A buffer overflow flaw was discovered in uw-imap, the University of
Washington's IMAP Server. php-imap is compiled against the static c-client
libraries from imap and therefore needed to be recompiled against the fixed
version. (CVE-2005-2933)
The wordwrap() PHP function did not properly check for integer overflow in
the handling of the "break" parameter. An attacker who could control the
string passed to the "break" parameter could cause a heap overflow.
(CVE-2006-1990)
Users of PHP should upgrade to these updated packages, which contain
backported patches that resolve these issues.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
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.
Affected Products
- Red Hat Enterprise Linux Server 2 ia64
- Red Hat Enterprise Linux Server 2 i386
- Red Hat Enterprise Linux Workstation 2 ia64
- Red Hat Enterprise Linux Workstation 2 i386
Fixes
- BZ - 104249 - php SRPM has silent IMAP dependency
- BZ - 190519 - CVE-2006-0208 PHP Cross Site Scripting (XSS) flaw
- BZ - 190524 - CVE-2005-2933 imap buffer overflow
- BZ - 190526 - CVE-2006-0996 phpinfo() XSS issue
- BZ - 191474 - CVE-2006-1990 php wordwrap integer overflow
CVEs
References
(none)
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.