ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Application development Toolkit

PHP flaw threatens Web servers

Published: 23 Jul 2002 09:31 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

A flaw found in newer versions of the PHP Web server scripting language could allow attackers to crash, and in some cases control, computers over the Internet, an open-source developer group announced on Monday.

The vulnerability affects versions 4.2.0 and 4.2.1 of PHP, according to the PHP Group. The flaw compromises different computer architectures in different ways: Web servers running on Intel IA-32 hardware could crash, while other systems, including Sun Microsystems' Solaris, could allow the attacker to infiltrate the computer.

The flaw occurs because of a problem in the way PHP handles the memory allocated for data recovered from customer forms on Web pages. Such data is known as POST data, after the HTTP command name, and could be formatted by an attacker in a way to compromise the Web server.

"If you are running PHP 4.2.x, you should upgrade as soon as possible," Stefen Esser, a member of the PHP Group and the developer who discovered the scripting flaw, wrote in the advisory. "If you cannot upgrade for whatever reason, the only way to workaround this is to disable all kind of POST requests you server."

The flaw is the second major security hole to affect PHP this year. In February, another vulnerability that affected more versions of the scripting server and that could have led to a greater number of compromises was announced.

The PHP Group has released a new version, PHP 4.2.2, that corrects the flaw.

Once known as Personal Homepage and now as the PHP: Hypertext Preprocessor, PHP is a key part of the standard open-source solution for Web servers. The collection of software making up the solution is commonly referred to as LAMP, where each letter stands for the software component used: the Linux operating system, the Apache Web server, the MySQL database, or the PHP scripting language. Occasionally, a different programming language, Python, is used as the scripting component in LAMP configurations.


For all security-related news, including updates on the latest viruses, hacking exploits and patches, check out ZDNet UK's Viruses and Hacking News Section.

Have your say instantly, and see what others have said. Go to the Security forum.

Let the editors know what you think in the Mailroom.

  • Email
  • Trackback
  • Clip Link
  • Print friendly Print with HP

Did you find this article useful?
60 out of 110 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:




Related Jobs

Turn the light on! LAMP development 35,000 North West

LAMP Designer looking for an award winning company with great career prospects? Take a look at this fantastic role for a great Senior Developer. ...

Lead PHP (LAMP) Developer. Sheffield

I have an excellent opportunity for a Lead PHP, Linux, MYSQL, Apache developer to work for a market-leading agency based in Sheffield. You will have ...

Switch on!-LAMP/PHP/RUBY-35,000-38,000 North West

LAMP/PHP/RUBY ON RAILS. You will have atleast 2 years as predominantly a LAMR/LAMP Developer with one year Ruby on Rails development experience. ...

Discussions

John Molloy John Molloy

Bit Odd to be honest

Friday 16 May 2008, 5:44 PM

2 comments
Macbrewer Macbrewer

Not really a security problem

Friday 16 May 2008, 4:17 PM

2 comments
harpless harpless

interesting..

Friday 16 May 2008, 4:06 PM

3 comments

Featured Talkback

The fact is: Software developers today are really designers and not coders. The reason that business anlaysts exist today to model solutions is because they understand the value of designing software before writing it. All too often developers create code that has little value because they do not understand that business classes interact with other classes within the confines of a working model or pattern.

By: 1000165269

Read full story:
Making sense of agile modelling