Feeds

PHP flaws pose hacker risk

Scripting language could be a tool for script kiddies

  • alert
  • submit to reddit

Security for virtualized datacentres

Updated Flaws in the popular open source scripting language PHP could allow crackers to execute arbitrary code on a victim's system or crash a Web server, security clearing house CERT has warned.

The vulnerabilities arise from the way PHP handles multipart/form-data POST requests (aka POST fileuploads) which give rise to a variety of possible attacks, with varying degrees of difficulty.

Tests by Stefan Esser, a PHP developer at German security consultancy e-matters, who discovered the bugs, suggest that not only PHP4 but also older versions of PHP3 tree are vulnerable.

Most of these vulnerabilities are exploitable only on Linux or Solaris, but one relatively trivial attack is only exploitable on x86 boxes and an arbitrary heap overflow in PHP3 is relatively easily exploitable on most platforms, including BSD.

According to our contacts a PHP exploit, targeted at Linux servers, is in circulation, though it’s not been widely used, as yet. This makes the PHP vulnerabilities a serious security issue.

As a workaround, users running PHP 4.0.3 or above might mitigate their exposure to the security risk by disabling fileupload support.

However a better solution is to upgrade to version 4.1.2 of PHP or apply patches to earlier versions, which have been made available. Because fileupload code was completely rewritten for the 4.2.0 branch, developers using this version of the scripting language are immune from the vulnerability.

PHP is a scripting language widely used in web development. PHP can be installed on a variety of web servers, including Apache, IIS, Netscape and iPlanet, among others. Servers not running PHP are immune to the problem. ®

External links

CERT: Multiple vulnerabilities in PHP fileupload
e-matters advisory

Beginner's guide to SSL certificates

Whitepapers

Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.