Information disclosure in PHP session php_binary serialization handler
CVE-2007-1380 is an information disclosure vulnerability in the php_binary serialization handler of the PHP session extension. It affects PHP versions before 4.4.5 and PHP 5.x before 5.2.1. The flaw is triggered when the handler processes a serialized variable entry containing an excessively large length value, causing a buffer over-read. As a result, an attacker can cause PHP to read past the intended buffer boundary and disclose memory contents.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows disclosure of sensitive process memory contents. Based on the provided material, the impact is limited to confidentiality loss; there is no stated integrity or availability impact. NVD scored it CVSS v2 5.0 with vector AV:N/AC:L/Au:N/C:P/I:N/A:N.
If you can’t patch tonight, do this now.
Until patched, avoid processing untrusted or attacker-controlled serialized session data with the php_binary session serialization handler. Restrict exposure of applications that accept or manipulate session data from untrusted sources, and prefer safer configurations or handlers where feasible. Apply vendor-supplied security updates promptly.
Patch, then assume compromise.
Upgrade PHP to a fixed release: PHP 4.4.5 or later, or PHP 5.2.1 or later. Where vendor packages are used, apply the relevant distribution security updates that backport the fix, such as the referenced SUSE and Red Hat advisories.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.