Bug 172589 - CVE-2005-3353 PHP exif data DoS
Summary: CVE-2005-3353 PHP exif data DoS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: php
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard: impact=moderate,public=20051002,repor...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-07 17:48 UTC by Josh Bressers
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHSA-2005-831
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-10 19:07:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:831 0 normal SHIPPED_LIVE Moderate: php security update 2005-11-10 05:00:00 UTC

Description Josh Bressers 2005-11-07 17:48:36 UTC
PHP exif data DoS

An error in the way php processes exif image data has been found.
This flaw will cause PHP to enter an infinite loop when
exif_read_data() against the malicious image.  The PHP process will
continue to consume computing resources until the PHP process is
killed.
http://bugs.php.net/bug.php?id=34704

When run through httpd, the PHP process will eventually timeout and be
killed.  This is only a temporary DoS when PHP is run from httpd..


This issue also affects RHEL3
This issue also affects RHEL2.1

Comment 1 Joe Orton 2005-11-07 18:52:05 UTC
Note this is not actually an infinite loop but an infinite function recursion,
so it causes an immediate process crash rather than a loop-then-timeout.

Comment 2 Mark J. Cox 2005-11-10 09:47:05 UTC
This issue doesn't affect RHEL2.1 as exif_read_data is undefined and as per php
docs this function is available in PHP 4 >= 4.2.0, PHP 5 while RHEL-2.1 contains
4.1.2

Comment 3 Red Hat Bugzilla 2005-11-10 19:07:28 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-2005-831.html



Note You need to log in before you can comment on or make changes to this bug.