Information Disclosure in PHP ClibPDF cpdf_open Function
The cpdf_open function in the ClibPDF (cpdf) extension for PHP 4.4.6 contains an information disclosure vulnerability. By supplying a long string as the second argument to cpdf_open, an attacker can trigger the function to leak sensitive information, such as the script source code, to the attacker. This is due to improper handling of input lengths, leading to unintended exposure of 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 context-dependent attackers to obtain sensitive information, including the source code of PHP scripts, which could facilitate further attacks such as code analysis for additional vulnerabilities or credential harvesting.
If you can’t patch tonight, do this now.
Restrict access to scripts utilizing the ClibPDF extension, validate and sanitize user input to the cpdf_open function, and monitor for suspicious activity that may indicate attempts to exploit this vulnerability.
Patch, then assume compromise.
Upgrade to a version of PHP where the ClibPDF extension has been patched to properly handle input lengths in the cpdf_open function. Alternatively, disable or remove the ClibPDF extension if it is not required.
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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.