PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument save method or (2) the GD imagepsloadfont function, as demonstrated by a filename0.html attack that bypasses an intended configuration in which client users may write to only .html files.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Enterprise_linux_desktop | Redhat | 7.0 (including) | 7.0 (including) |
Enterprise_linux_hpc_node | Redhat | 7.0 (including) | 7.0 (including) |
Enterprise_linux_hpc_node_eus | Redhat | 7.1 (including) | 7.1 (including) |
Enterprise_linux_server | Redhat | 7.0 (including) | 7.0 (including) |
Enterprise_linux_server_eus | Redhat | 7.1 (including) | 7.1 (including) |
Enterprise_linux_workstation | Redhat | 7.0 (including) | 7.0 (including) |
Red Hat Enterprise Linux 6 | RedHat | php-0:5.3.3-46.el6_6 | * |
Red Hat Enterprise Linux 7 | RedHat | php-0:5.4.16-36.el7_1 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | php55-php-0:5.5.21-4.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-php56-php-0:5.6.5-7.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | php54-php-0:5.4.40-3.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | RedHat | php55-php-0:5.5.21-4.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | RedHat | rh-php56-php-0:5.6.5-7.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | RedHat | php54-php-0:5.4.40-3.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | RedHat | php55-php-0:5.5.21-4.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | RedHat | rh-php56-php-0:5.6.5-7.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | RedHat | php54-php-0:5.4.40-3.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | php55-php-0:5.5.21-4.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php56-php-0:5.6.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | php54-php-0:5.4.40-3.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | RedHat | php55-php-0:5.5.21-4.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | RedHat | rh-php56-php-0:5.6.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | RedHat | php54-php-0:5.4.40-3.el7 | * |
Php5 | Ubuntu | devel | * |
Php5 | Ubuntu | esm-infra-legacy/trusty | * |
Php5 | Ubuntu | precise | * |
Php5 | Ubuntu | trusty | * |
Php5 | Ubuntu | trusty/esm | * |
Php5 | Ubuntu | upstream | * |
Php5 | Ubuntu | utopic | * |
Php5 | Ubuntu | vivid | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.