Bug 240167 - (CVE-2007-1700) CVE-2007-1700 php session extension refcount handling issue
CVE-2007-1700 php session extension refcount handling issue
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
:
: 239321 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-15 12:01 EDT by Joe Orton
Modified: 2007-05-15 12:02 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-15 12:02:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 12:01:37 EDT
Description of problem:
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates
the reference count for the session variables without considering the internal
pointer from the session globals, which allows context-dependent attackers to
execute arbitrary code via a crafted string in the session_register after
unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Comment 1 Joe Orton 2007-05-15 12:02:29 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.

The bug described in CVE-2007-1700 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 12:02:41 EDT
*** Bug 239321 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.