Feeds

PHP flaws pose hacker risk

Scripting language could be a tool for script kiddies

  • alert
  • submit to reddit

Using blade systems to cut costs and sharpen efficiencies

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

The smart choice: opportunity from uncertainty

More from The Register

next story
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Black Hat anti-Tor talk smashed by lawyers' wrecking ball
Unmasking hidden users is too hot for Carnegie-Mellon
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.