Bug 618579 (CVE-2010-1861, MOPS-2010-009)

Summary: CVE-2010-1861 php: shm_put_var interruption vulnerability (MOPS-2010-009)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
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-27 10:11: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:
Attachments:
Description Flags
MOPS-2010-009 reproducer none

Description Tomas Hoger 2010-07-27 10:08:31 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-1861 to
the following vulnerability:

The sysvshm extension for PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to write to arbitrary memory addresses by using an object's __sleep function to interrupt an internal call to the shm_put_var function, which triggers access of a freed resource.

Reference:
http://php-security.org/2010/05/05/mops-2010-009-php-shm_put_var-already-freed-resource-access-vulnerability/index.html

Comment 1 Tomas Hoger 2010-07-27 10:09:54 UTC
Created attachment 434649 [details]
MOPS-2010-009 reproducer

Comment 2 Tomas Hoger 2010-07-27 10:11:01 UTC
Upstream commit:
  http://svn.php.net/viewvc?view=revision&revision=299328

More on impact of the interruption issues available at bug #617578, comment #3.

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

Comment 3 Tomas Hoger 2010-07-27 10:11:15 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