Bug 617211 (CVE-2010-1915, MOPS-2010-017) - CVE-2010-1915 php: preg_quote interruption vulnerability (MOPS-2010-017)
Summary: CVE-2010-1915 php: preg_quote interruption vulnerability (MOPS-2010-017)
Status: CLOSED DUPLICATE of bug 169857
Alias: CVE-2010-1915, MOPS-2010-017
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-22 13:44 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-26 13:48:38 UTC

Attachments (Terms of Use)
Public MOPS-2010-017 reproducer (1.27 KB, text/plain)
2010-07-22 14:00 UTC, Jan Lieskovsky
no flags Details

Description Jan Lieskovsky 2010-07-22 13:44:47 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-1915 to
the following vulnerability:

The preg_quote function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2
allows 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, modification
of ZVALs whose values are not updated in the associated local variables,
and access of previously-freed memory.

  [1] http://www.php-security.org/2010/05/09/mops-2010-017-php-preg_quote-interruption-information-leak-vulnerability/index.html
  [2] http://xforce.iss.net/xforce/xfdb/58586

Comment 1 Jan Lieskovsky 2010-07-22 14:00:44 UTC
Created attachment 433706 [details]
Public MOPS-2010-017 reproducer

Comment 5 Jan Lieskovsky 2010-07-22 15:15:24 UTC

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

Comment 6 Jan Lieskovsky 2010-07-22 15:57:10 UTC
This issue affects the versions of the php package, as shipped
with Red Hat Enterprise Linux 3, 4, and 5.

This issue affects the versions of the php package, as shipped
with Fedora release of 12 and 13.

Comment 7 Tomas Hoger 2010-07-26 13:41:29 UTC
(In reply to comment #6)
> This issue affects the versions of the php package, as shipped
> with Red Hat Enterprise Linux 3, 4, and 5.

The interruption described in the MOPS-2010-017 does not work in php versions in Red Hat Enterprise Linux 3, 4, and 5, as method __toString() is not called by zend_parse_parameters() in those versions.  All MOPS interruption reproducers relying on __toString() being called from zend_parse_parameters() would fail on those PHP versions.

Comment 8 Tomas Hoger 2010-07-26 13:48:38 UTC
Closing this, see bug #617578, comment #3 for more detailed explanation.

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

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