Bug 240161 - (CVE-2007-1376) CVE-2007-1376 php shmop argument validation
CVE-2007-1376 php shmop argument validation
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: 239298 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-05-15 11:45 EDT by Joe Orton
Modified: 2007-05-15 11:47 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-15 11:46:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2007-05-15 11:45:36 EDT
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 11:46:38 EDT
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 11:47:15 EDT
*** 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.