Bug 240161 (CVE-2007-1376) - CVE-2007-1376 php shmop argument validation
Summary: CVE-2007-1376 php shmop argument validation
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2007-1376
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
: 239298 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-15 15:45 UTC by Joe Orton
Modified: 2007-05-15 15:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-15 15:46:38 UTC
Embargoed:


Attachments (Terms of Use)

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. ***


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