Title: PHP substr_compare() Function Arbitrary Memory Disclosure
Info
Disclosure
Mar 07, 2007
Discovery
Unknown
Dates
Exploit
Mar 07, 2007
Solution
Unknown
Description
An information leak vulnerability exists in PHP. An integer overflow which occurs while performing sanity checks on the input parameters to the substr_compare() function makes it possible to compare offsets outside of the allocated buffer. This allows memory access outside the buffer and the retrieval of sensitive information, leading to a loss of confidentiality.
Classification
Location:
Remote / Network Access
Attack Type:
Information Disclosure
Impact:
Loss of Confidentiality
Exploit:
Exploit Public
Disclosure:
OSVDB Verified,
Vendor Verified
OSVDB:
Concern
Solution
Upgrade to version 5.2.2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.