Bug 240161 (CVE-2007-1376)

Summary: CVE-2007-1376 php shmop argument validation
Product: [Other] Security Response Reporter: Joe Orton <jorton>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: paul.boin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-15 15:46:38 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:

Description Joe Orton 2007-05-15 15:45:36 UTC
Description of problem:
The shmop functions in PHP before 4.4.5, and before 5.2.1 in the 5.x series, do
not verify that their arguments correspond to a shmop resource, which allows
context-dependent attackers to read and write arbitrary memory locations via
arguments associated with an inappropriate resource, as demonstrated by a GD
Image resource.

Comment 1 Joe Orton 2007-05-15 15:46:38 UTC
The PHP interpreter does not offer a reliable "sandboxed" security layer (as
found in, say, a JVM) in which untrusted scripts can be run; any script run by
the PHP interpreter must be trusted with the privileges of the interpreter itself.  

This bug described in CVE-2007-1376 can only be triggered by a script author;
since no trust boundary is crossed, this issue is not treated as security-sensitive.

Comment 2 Joe Orton 2007-05-15 15:47:15 UTC
*** Bug 239298 has been marked as a duplicate of this bug. ***