Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 548532 - (CVE-2009-4143) CVE-2009-4143 php: $_SESSION usort() interruption corruption
CVE-2009-4143 php: $_SESSION usort() interruption corruption
Status: CLOSED DUPLICATE of bug 169857
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
http://web.nvd.nist.gov/view/vuln/det...
impact=none,source=upstream,reported=...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-17 12:59 EST by Vincent Danen
Modified: 2009-12-23 10:15 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-23 10:15:00 EST
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 Vincent Danen 2009-12-17 12:59:51 EST
PHP 5.2.12 was released with the following reference:

Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check, identified by Stefan Esser. (CVE-2009-4143, Stas)

There is no referring bug report and I cannot currently find any further information on this issue.
Comment 1 Vincent Danen 2009-12-17 16:19:10 EST
This issue is documented here, beginning at page 50:

http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
Comment 2 Tomas Hoger 2009-12-22 09:25:39 EST
Relevant upstream commit should be this:
  http://svn.php.net/viewvc?view=revision&revision=291681

+ NEWS file updates in 291703 and 291804.
Comment 3 Tomas Hoger 2009-12-23 10:03:00 EST
More on using interruption flaws to compromise PHP interpreter from the script:

http://www.suspekt.org/2009/08/12/state-of-the-art-post-exploitation-in-hardened-php-environments/
Comment 4 Tomas Hoger 2009-12-23 10:15:00 EST
This flaw can be used by PHP script author to bypass restrictions such as safe_mode or open_basedir.  Red Hat does not treat such issue as security flaws:

  https://bugzilla.redhat.com/show_bug.cgi?id=169857#c1

Additionally, fix in 5.2.12 adds protection for $_SESSION.  In older PHP versions, usort() interruptions can be used to corrupt any array.

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

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