Unspecified vulnerabilities in PHP, probably before 5.2.0, allow local users to bypass open_basedir restrictions and perform unspecified actions via unspecified vectors involving the (1) chdir and (2) tempnam functions. NOTE: the tempnam vector might overlap CVE-2006-1494.
Branches: PHP 5.1, PHP 5.0 · Check: 5.1.6, 5.0.0
Buffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.
Branches: PHP 5.1, PHP 5.0 · Check: 5.1.6, 5.0.0
Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).
Branches: PHP 5.1, PHP 5.0, PHP 4.2, PHP 4.1, PHP 4.0 · Check: 5.1.0, 5.0.0, 4.2.0
The stripos function in PHP before 5.1.5 has unknown impact and attack vectors related to an out-of-bounds read.
Branches: PHP 5.1 · Check: 5.1.0
The cURL extension files (1) ext/curl/interface.c and (2) ext/curl/streams.c in PHP before 5.1.5 permit the CURLOPT_FOLLOWLOCATION option when open_basedir or safe_mode is enabled, which allows attackers to perform unauthorized actions, possibly related to the realpath cache.
Branches: PHP 5.1 · Check: 5.1.4
Multiple heap-based buffer overflows in the (1) str_repeat and (2) wordwrap functions in ext/standard/string.c in PHP before 5.1.5, when used on a 64-bit system, have unspecified impact and attack vectors, a different vulnerability than CVE-2006-1990.
Branches: PHP 5.1 · Check: 5.1.4
The (1) file_exists and (2) imap_reopen functions in PHP before 5.1.5 do not check for the safe_mode and open_basedir settings, which allows local users to bypass the settings. NOTE: the error_log function is covered by CVE-2006-3011, and the imap_open function is covered by CVE-2006-1017.
Branches: PHP 5.1 · Check: 5.1.0
PHP before 4.4.3 and 5.x before 5.1.4 does not limit the character set of the session identifier (PHPSESSID) for third party session handlers, which might make it easier for remote attackers to exploit other vulnerabilities by inserting PHP code into the PHPSESSID, which is stored in the session file. NOTE: it could be argued that this not a vulnerability in PHP itself, rather a design limitation that enables certain attacks against session handlers that do not account for this limitation.
Branches: PHP 5.1, PHP 5.0, PHP 4.4, PHP 4.3, PHP 4.2, PHP 4.1, PHP 4.0 · Check: 5.1.0, 5.0.0, 4.4.0
zend_hash_del_key_or_index in zend_hash.c in PHP before 4.4.3 and 5.x before 5.1.3 can cause zend_hash_del to delete the wrong element, which prevents a variable from being unset even when the PHP unset function is called, which might cause the variable's value to be used in security-relevant operations.
Branches: PHP 5.1, PHP 5.0, PHP 4.4, PHP 4.3, PHP 4.2, PHP 4.1, PHP 4.0, PHP 3.0 · Check: 5.1.0, 5.0.0, 4.4.2
The c-client library 2000, 2001, or 2004 for PHP before 4.4.4 and 5.x before 5.1.5 do not check the (1) safe_mode or (2) open_basedir functions, and when used in applications that accept user-controlled input for the mailbox argument to the imap_open function, allow remote attackers to obtain access to an IMAP stream data structure and conduct unauthorized IMAP actions.
Branches: PHP 5.1, PHP 5.0, PHP 4.4, PHP 4.3, PHP 4.2, PHP 4.1, PHP 4.0, PHP 3.0 · Check: 5.1.0, 5.0.0, 4.4.0
Format string vulnerability in the error-reporting feature in the mysqli extension in PHP 5.1.0 and 5.1.1 might allow remote attackers to execute arbitrary code via format string specifiers in MySQL error messages.
Branches: PHP 5.1 · Check: 5.1.0
Stack-based buffer overflow in the create_named_pipe function in libmysql.c in PHP 4.3.10 and 4.4.x before 4.4.3 for Windows allows attackers to execute arbitrary code via a long (1) arg_host or (2) arg_unix_socket argument, as demonstrated by a long named pipe variable in the host argument to the mysql_connect function.
Branches: PHP 4.4, PHP 4.3 · Check: 4.4.0, 4.3.10