|
|||||||||||
|
@(#)Mordred Labs advisory - Integer overflow in PHP array_pad() function
From: <sir.mordred(at)hushmail.com>
Date: Wed Apr 02 2003 - 06:46:02 EST -----BEGIN PGP SIGNED MESSAGE-----
//@(#) Mordred Security Labs advisory
Release date: April 1, 2003
I. Description: PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Please visit http://www.php.net for more information about PHP. II. Details:
The function array_pad(array input, int pad_size, mixed pad_value) returns
a copy
Unfortunately the implementation of this function suffers from an integer
overflow caused by
The following short script will cause a httpd child to die:
$ cat t.php
array_pad(array(1,2,3), 0x40000003, "pad");
III. Platforms tested Linux 2.4 with Apache 1.3.27 / PHP 4.3.1 IV. Vendor response Vendor has been contacted. -----BEGIN PGP SIGNATURE-----
wmAEARECACAFAj6Kzo4ZHHNpci5tb3JkcmVkQGh1c2htYWlsLmNvbQAKCRAOkXvN4BZr
fK+sAKCEyIP0M6n390Siz9CFIwsUTVBX6QCeOT5GLt3Y1p3Xu+1ldtJZvu1vXYg=
=639h
Big $$$ to be made with the HushMail Affiliate Program: https://www.hushmail.com/about.php?subloc=affiliate&l=427 Received on Thu Apr 3 12:40:22 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:38 EDT |
||||||||||
|
|||||||||||