Bug 598562 (CVE-2010-2097, MOPS-2010-032, MOPS-2010-033, MOPS-2010-034)

Summary: CVE-2010-2097 PHP: iconv_mime_decode(), iconv_substr(), iconv_mime_encode() interruption flaws (MOPS-2010-032 MOPS-2010-033 MOPS-2010-034)
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jorton
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-26 09:36:56 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:
Attachments:
Description Flags
Local copy of MOPS-2010-032.php reproducer
none
Local copy of MOPS-2010-033.php reproducer
none
Local copy of MOPS-2010-034.php reproducer none

Description Jan Lieskovsky 2010-06-01 15:56:58 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-2097 to
the following vulnerability:

The (1) iconv_mime_decode, (2) iconv_substr, and (3) iconv_mime_encode
functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow
context-dependent attackers to obtain sensitive information (memory
contents) by causing a userspace interruption of an internal function,
related to the call time pass by reference feature.

References:
  [1] http://php-security.org/2010/05/18/mops-2010-032-php-iconv_mime_decode-interruption-information-leak-vulnerability/index.html
  [2] http://php-security.org/2010/05/18/mops-2010-033-php-iconv_substr-interruption-information-leak-vulnerability/index.html
  [3] http://php-security.org/2010/05/18/mops-2010-034-php-iconv_mime_encode-interruption-information-leak-vulnerability/index.html

Credit: All three flaws discovered by Stefan Esser.

Comment 1 Jan Lieskovsky 2010-06-01 15:58:24 UTC
Created attachment 418694 [details]
Local copy of MOPS-2010-032.php reproducer

Comment 2 Jan Lieskovsky 2010-06-01 15:59:03 UTC
Created attachment 418696 [details]
Local copy of MOPS-2010-033.php reproducer

Comment 3 Jan Lieskovsky 2010-06-01 15:59:44 UTC
Created attachment 418697 [details]
Local copy of MOPS-2010-034.php reproducer

Comment 7 Tomas Hoger 2010-07-26 09:36:56 UTC
Closing this, see bug #617578, comment #3 for more detailed explanation.

*** This bug has been marked as a duplicate of bug 169857 ***

Comment 8 Tomas Hoger 2010-07-26 09:37:19 UTC
Statement:

Red Hat does not consider interruption issues allowing safe_mode / open_basedir
restriction bypass to be security sensitive.  For more details see
https://bugzilla.redhat.com/show_bug.cgi?id=169857#c1 and
http://www.php.net/security-note.php