CVE-2011-1153: High severity php vulnerability
Multiple format string vulnerabilities in pharobject.c in the phar extension in PHP 5.3.5 and earlier allow context-dependent attackers to obtain sensitive information from process memory, cause a denial of service (memory corruption), or possibly execute arbitrary code via format string specifiers in an argument to a class method, leading to an incorrect zendthrowexceptionex call.
Other sources
Several format string flaws were found in PHP's Phar extension [1] that could be used to leak some parts of memory via error messages. These have been corrected in upstream svn [2]. The Phar extension is part of PHP since 5.3.0.
This is demonstrated with the following:
<?php
$x = new PharData('a.php'); $x->loadPhar("%08x.%08x.%08x.%08x.%08x");
?>
% php phar.php PHP Fatal error: Uncaught exception 'PharException' with message 'unable to open phar for reading "00000000.00000008.00000000.bffb3624.081ef712"' in /tmp/tests/phar.php:4 Stack trace: #0 /tmp/tests/phar.php(4): PharData::loadPhar('%08x.%08x.%08x....') #1 {main} thrown in /tmp/tests/phar.php on line 4
[1] http://bugs.php.net/bug.php?id=54247 [2] http://svn.php.net/viewvc?view=revision&revision=309221
— Red Hat
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2011-1153?
CVE-2011-1153 is classified as a high severity vulnerability due to the potential for sensitive information disclosure and arbitrary code execution.
How do I fix CVE-2011-1153?
To fix CVE-2011-1153, upgrade to PHP version 5.3.6 or later as it addresses the format string vulnerabilities.
What types of vulnerabilities are present in CVE-2011-1153?
CVE-2011-1153 includes multiple format string vulnerabilities that can lead to memory corruption and potential arbitrary code execution.
Which PHP versions are affected by CVE-2011-1153?
CVE-2011-1153 affects PHP 5.3.5 and earlier versions, as well as several older versions down to 1.0.
What impact can an attack exploiting CVE-2011-1153 have on my system?
Exploiting CVE-2011-1153 can result in denial of service, memory corruption, and potentially full system compromise.