PDA

View Full Version : Hole in PHP could give attacker server control


JJR512
07-24-2002, 01:44 AM
This is not a request for help. This is some news for your information.
Hole in PHP could give attacker server control
ITworld.com 7/22/02

Sam Costello, IDG News Service, Boston Bureau
A security hole in the PHP (PHP: Hypertext Preprocessor) scripting language used on many Web servers could allow an attacker to execute code on affected systems or even take control of them, according to a security alert released Monday by The PHP Group.

The vulnerability affects PHP 4.2.0 and 4.2.1 and comes as a result of a flaw in the HTTP POST parser component of PHP. The HTTP POST parser is used to differentiate between files and variables sent by users to a Web server through Web forms, according to the alert. Insufficient checking in the parser could allow an attacker to crash the server, execute code or even take control of the system, The PHP Group said.

The hole can be exploited, locally or remotely, by anyone who can send HTTP POST requests to a server, the advisory said.

Different platforms may respond to attacks differently, however. PHP running on the IA-32 platform, more commonly-known as the x86 platform that includes such chips as the Pentium, does not experience the code execution issue, though attack on the vulnerability can still crash PHP or the Web server, according to the advisory.

A new version of PHP, 4.2.2, has been released to fix the problem. The new version of the software can be downloaded at http://www.php.net/downloads.php. The full security advisory is also available at http://www.php.net/release_4_2_2.php.

Sam Costello is a correspondent for the IDG News Service.
From ITworld.com (http://www.itworld.com/AppDev/4072/020722phphole/)

DrkFusion
07-24-2002, 02:05 AM
Im sure this will be fixed very quickly.

JJR512
07-24-2002, 02:17 AM
It's already been fixed, according to the article: "A new version of PHP, 4.2.2, has been released to fix the problem." So, any of you that run your own servers, should look into upgrading, and those of you whose sites are hosted should make sure your webhosting company is aware of this.

DrkFusion
07-24-2002, 02:32 AM
Cool, I will be upgrading php in 5 minutes, thanks for that update, I didn't know about it.

Drk

Admin
07-24-2002, 06:59 AM
The Jelsoft server has been upgraded, in case anyone thinks about trying... :)

Sparkz
07-24-2002, 08:28 AM
Downloading the new version just after it was released was a major pain in the butt!

Imagine fighting for a download slot with all those other maniacs :P

Admin
07-24-2002, 08:31 AM
Just use one of the mirrors... That's what I did.

Sparkz
07-24-2002, 08:34 AM
All the close mirrors were just as slow...

DrkFusion
07-24-2002, 01:53 PM
Download it at download.com lol...the fastest you can get with those maniacks. U would have to use the linux downloads if u have a linux server, and windows if windows server and so on....but it works, though I didn't download mine there.

Drk

Admin
07-24-2002, 05:02 PM
Originally posted by DrkFusion
U would have to use the linux downloads if u have a linux server, and windows if windows server
Let's take a moment to digest this complicated logic of yours... ;)

DrkFusion
07-24-2002, 05:44 PM
Originally posted by FireFly

Let's take a moment to digest this complicated logic of yours... ;)
LOl...
thats me helping the undigestable by giving them a detailed view ;)

Drk

Dark_Wizard
07-24-2002, 08:31 PM
Originally posted by DrkFusion
U would have to use the linux downloads if u have a linux server, and windows if windows server and so on....Drk

I'm not even going comment on this! :rolleyes: