The session_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie that is obtained from (1) PATH_INFO, (2) the session_id function, and (3) the session_start function, which are not encoded or filtered when the new session cookie is generated, a related issue to CVE-2006-0207.
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 |
---|---|---|---|
Php | Php | 4.0-beta_4_patch1 (including) | 4.0-beta_4_patch1 (including) |
Php | Php | 4.0-beta1 (including) | 4.0-beta1 (including) |
Php | Php | 4.0-beta2 (including) | 4.0-beta2 (including) |
Php | Php | 4.0-beta3 (including) | 4.0-beta3 (including) |
Php | Php | 4.0-beta4 (including) | 4.0-beta4 (including) |
Php | Php | 4.0.0 (including) | 4.0.0 (including) |
Php | Php | 4.0.1 (including) | 4.0.1 (including) |
Php | Php | 4.0.2 (including) | 4.0.2 (including) |
Php | Php | 4.0.3 (including) | 4.0.3 (including) |
Php | Php | 4.0.4 (including) | 4.0.4 (including) |
Php | Php | 4.0.5 (including) | 4.0.5 (including) |
Php | Php | 4.0.6 (including) | 4.0.6 (including) |
Php | Php | 4.0.7 (including) | 4.0.7 (including) |
Php | Php | 4.1.0 (including) | 4.1.0 (including) |
Php | Php | 4.1.1 (including) | 4.1.1 (including) |
Php | Php | 4.1.2 (including) | 4.1.2 (including) |
Php | Php | 4.2.0 (including) | 4.2.0 (including) |
Php | Php | 4.2.1 (including) | 4.2.1 (including) |
Php | Php | 4.2.2 (including) | 4.2.2 (including) |
Php | Php | 4.2.3 (including) | 4.2.3 (including) |
Php | Php | 4.3.0 (including) | 4.3.0 (including) |
Php | Php | 4.3.1 (including) | 4.3.1 (including) |
Php | Php | 4.3.2 (including) | 4.3.2 (including) |
Php | Php | 4.3.3 (including) | 4.3.3 (including) |
Php | Php | 4.3.4 (including) | 4.3.4 (including) |
Php | Php | 4.3.5 (including) | 4.3.5 (including) |
Php | Php | 4.3.6 (including) | 4.3.6 (including) |
Php | Php | 4.3.7 (including) | 4.3.7 (including) |
Php | Php | 4.3.8 (including) | 4.3.8 (including) |
Php | Php | 4.3.9 (including) | 4.3.9 (including) |
Php | Php | 4.3.10 (including) | 4.3.10 (including) |
Php | Php | 4.3.11 (including) | 4.3.11 (including) |
Php | Php | 4.4.0 (including) | 4.4.0 (including) |
Php | Php | 4.4.1 (including) | 4.4.1 (including) |
Php | Php | 4.4.2 (including) | 4.4.2 (including) |
Php | Php | 4.4.3 (including) | 4.4.3 (including) |
Php | Php | 4.4.4 (including) | 4.4.4 (including) |
Php | Php | 4.4.5 (including) | 4.4.5 (including) |
Php | Php | 4.4.6 (including) | 4.4.6 (including) |
Php | Php | 4.4.7 (including) | 4.4.7 (including) |
Red Hat Enterprise Linux 2.1 | RedHat | php-0:4.1.2-2.19 | * |
Red Hat Enterprise Linux 3 | RedHat | php-0:4.3.2-43.ent | * |
Red Hat Enterprise Linux 4 | RedHat | php-0:4.3.9-3.22.9 | * |
Red Hat Enterprise Linux 5 | RedHat | php-0:5.1.6-15.el5 | * |
Red Hat Web Application Stack for RHEL 4 | RedHat | php-0:5.1.6-3.el4s1.8 | * |
Php4 | Ubuntu | dapper | * |
Php4 | Ubuntu | edgy | * |
Php4 | Ubuntu | upstream | * |
Php5 | Ubuntu | dapper | * |
Php5 | Ubuntu | edgy | * |
Php5 | Ubuntu | feisty | * |
Php5 | Ubuntu | gutsy | * |
Php5 | Ubuntu | upstream | * |
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.