The remote host is missing an update to php4 announced via advisory USN-99-1.
Stefano Di Paola discovered integer overflows in PHP's pack() and unpack() functions. A malicious PHP script could exploit these to break out of safe mode and execute arbitrary code with the privileges of the PHP interpreter. (CVE-2004-1018)
Note: The second part of CVE-2004-1018 (buffer overflow in the shmop_write() function) was already fixed in USN-66-1.
Stefan Esser discovered two safe mode bypasses which allowed malicious PHP scripts to circumvent path restrictions. This was possible by either using virtual_popen() with a current directory containing shell metacharacters (CVE-2004-1063) or creating a specially crafted directory whose length exceeded the capacity of the realpath() function (CVE-2004-1064).
The following packages are affected:
libapache2-mod-php4 php4-cgi
Solution: The problem can be corrected by upgrading the affected package to version 4:4.3.8-3ubuntu7.5. In general, a standard system upgrade is sufficient to effect the necessary changes.