Bug 190519

Summary: CVE-2006-0208 PHP Cross Site Scripting (XSS) flaw
Product: Red Hat Enterprise Linux 2.1 Reporter: Mark J. Cox <mjc>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 2.1Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20060112,reported=20060113,source=secunia
Fixed In Version: RHSA-2006-0501 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-23 20:22:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 175040    

Description Mark J. Cox 2006-05-03 09:16:18 UTC
+++ This bug was initially created as a clone of Bug #178028 +++

PHP 5.1.2 has been released:
http://www.php.net/release_5_1_2.php

The release announcement mentions this security fix:
    * Possible cross-site scripting problems in certain error conditions.

The problem exists in the way PHP displays error messages.  This issue is only
exploitable when 'display_errors' and 'html_errors' are both set to 'On' in the
PHP configuration file.  When a HTML error message was being generated, the
output was not properly sanitized, which could allow an attacker to insert
arbitrary HTML, thus allowing a XSS attack.

This issue is only exploitable if 'html_errors' is on, which the configuration
file cleary states should not be used on production machines.

I have verified this flaw exists in the PHP 4.3 and 5.1 branches.

Comment 3 Red Hat Bugzilla 2006-05-23 20:22:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0501.html