vendor:
PHP
by:
rgod
5.5
CVSS
MEDIUM
Source Code Disclosure
CWE
Product Name: PHP
Affected Version From: PHP 4.4.6
Affected Version To:
Patch Exists: NO
Related CWE:
CPE: cpe: /a:php:php:4.4.6
Platforms Tested:
PHP 4.4.6 cpdf_open() source code disclosure poc
This exploit demonstrates a source code disclosure vulnerability in PHP 4.4.6's cpdf_open() function. By repeating the character 'A' 1111 times and passing it as a parameter to cpdf_open(), the output will reveal sensitive information, including the password variable ($my_password_is) used multiple times in the code.
Mitigation:
To mitigate this vulnerability, it is recommended to upgrade to a newer version of PHP that does not have this issue. Alternatively, developers should avoid using the cpdf extension or ensure that sensitive information is not exposed in the source code.