Bug 601897 (CVE-2010-2190, MOPS-2010-047, MOPS-2010-048) - CVE-2010-2190 php: interruption vulnerabilities in trim and substr_replace (MOPS-2010-047, MOPS-2010-048)
Summary: CVE-2010-2190 php: interruption vulnerabilities in trim and substr_replace (M...
Status: CLOSED DUPLICATE of bug 169857
Alias: CVE-2010-2190, MOPS-2010-047, MOPS-2010-048
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-06-08 20:25 UTC by Vincent Danen
Modified: 2019-09-29 12:36 UTC (History)
3 users (show)

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

Attachments (Terms of Use)
MOPS-2010-047 reproducer (1.23 KB, text/plain)
2010-07-23 20:42 UTC, Tomas Hoger
no flags Details
MOPS-2010-048 reproducer (2.15 KB, text/plain)
2010-07-23 20:43 UTC, Tomas Hoger
no flags Details

Description Vincent Danen 2010-06-08 20:25:42 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-2190 to
the following vulnerability:

The (1) trim, (2) ltrim, (3) rtrim, and (4) substr_replace 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.


Comment 1 Tomas Hoger 2010-07-23 15:08:06 UTC
Upstream patch added to Zend engine's zend_parse_parameters to address MOPS-2010-006 addcslashes interruption vulnerability (bug #617578, comment #2) addresses trim MOPS-2010-047 too:

This fix is included in 5.3.3.

Comment 2 Tomas Hoger 2010-07-23 20:42:53 UTC
Created attachment 434064 [details]
MOPS-2010-047 reproducer

Comment 3 Tomas Hoger 2010-07-23 20:43:48 UTC
Created attachment 434065 [details]
MOPS-2010-048 reproducer

Comment 4 Tomas Hoger 2010-07-23 20:49:02 UTC
Upstream commit for the substr_replace issue:

Fixed in 5.3.3 too:

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

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

Comment 6 Tomas Hoger 2010-07-26 09:13:40 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

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