CVE Vulnerabilities

CVE-2011-1153

Use of Externally-Controlled Format String

Published: Mar 16, 2011 | Modified: Aug 17, 2017
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
4.3 MODERATE
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V3
Ubuntu

Multiple format string vulnerabilities in phar_object.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 zend_throw_exception_ex call.

Weakness

The software uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Php Php 1.0 1.0
Php Php 2.0 2.0
Php Php 2.0b10 2.0b10
Php Php 3.0 3.0
Php Php 3.0.1 3.0.1
Php Php 3.0.2 3.0.2
Php Php 3.0.3 3.0.3
Php Php 3.0.4 3.0.4
Php Php 3.0.5 3.0.5
Php Php 3.0.6 3.0.6
Php Php 3.0.7 3.0.7
Php Php 3.0.8 3.0.8
Php Php 3.0.9 3.0.9
Php Php 3.0.10 3.0.10
Php Php 3.0.11 3.0.11
Php Php 3.0.12 3.0.12
Php Php 3.0.13 3.0.13
Php Php 3.0.14 3.0.14
Php Php 3.0.15 3.0.15
Php Php 3.0.16 3.0.16
Php Php 3.0.17 3.0.17
Php Php 3.0.18 3.0.18
Php Php 4.0 4.0
Php Php 4.0 4.0
Php Php 4.0 4.0
Php Php 4.0 4.0
Php Php 4.0 4.0
Php Php 4.0.0 4.0.0
Php Php 4.0.1 4.0.1
Php Php 4.0.2 4.0.2
Php Php 4.0.3 4.0.3
Php Php 4.0.4 4.0.4
Php Php 4.0.5 4.0.5
Php Php 4.0.6 4.0.6
Php Php 4.0.7 4.0.7
Php Php 4.1.0 4.1.0
Php Php 4.1.1 4.1.1
Php Php 4.1.2 4.1.2
Php Php 4.2.0 4.2.0
Php Php 4.2.1 4.2.1
Php Php 4.2.2 4.2.2
Php Php 4.2.3 4.2.3
Php Php 4.3.0 4.3.0
Php Php 4.3.1 4.3.1
Php Php 4.3.2 4.3.2
Php Php 4.3.3 4.3.3
Php Php 4.3.4 4.3.4
Php Php 4.3.5 4.3.5
Php Php 4.3.6 4.3.6
Php Php 4.3.7 4.3.7
Php Php 4.3.8 4.3.8
Php Php 4.3.9 4.3.9
Php Php 4.3.10 4.3.10
Php Php 4.3.11 4.3.11
Php Php 4.4.0 4.4.0
Php Php 4.4.1 4.4.1
Php Php 4.4.2 4.4.2
Php Php 4.4.3 4.4.3
Php Php 4.4.4 4.4.4
Php Php 4.4.5 4.4.5
Php Php 4.4.6 4.4.6
Php Php 4.4.7 4.4.7
Php Php 4.4.8 4.4.8
Php Php 4.4.9 4.4.9
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.0 5.0.0
Php Php 5.0.1 5.0.1
Php Php 5.0.2 5.0.2
Php Php 5.0.3 5.0.3
Php Php 5.0.4 5.0.4
Php Php 5.0.5 5.0.5
Php Php 5.1.0 5.1.0
Php Php 5.1.1 5.1.1
Php Php 5.1.2 5.1.2
Php Php 5.1.3 5.1.3
Php Php 5.1.4 5.1.4
Php Php 5.1.5 5.1.5
Php Php 5.1.6 5.1.6
Php Php 5.2.0 5.2.0
Php Php 5.2.1 5.2.1
Php Php 5.2.2 5.2.2
Php Php 5.2.3 5.2.3
Php Php 5.2.4 5.2.4
Php Php 5.2.5 5.2.5
Php Php 5.2.6 5.2.6
Php Php 5.2.8 5.2.8
Php Php 5.2.9 5.2.9
Php Php 5.2.10 5.2.10
Php Php 5.2.11 5.2.11
Php Php 5.2.12 5.2.12
Php Php 5.2.13 5.2.13
Php Php 5.2.14 5.2.14
Php Php 5.3.0 5.3.0
Php Php 5.3.1 5.3.1
Php Php 5.3.2 5.3.2
Php Php 5.3.3 5.3.3
Php Php 5.3.4 5.3.4
Php Php * 5.3.5
Php5 Ubuntu lucid *
Php5 Ubuntu maverick *
Php5 Ubuntu natty *

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations

References