PHP 'zero-day' hole found

By

Bugged patch fails to fix flaw.

A dangerous vulnerability has been discovered in PHP-CGI which grants attackers remote code execution and the ability to steal source code.

PHP 'zero-day' hole found

The hole was publicly disclosed reportedly in error to Reddit following a patch issued by PHP Group, but the fix was later discovered by researcher Steffan Esser to have failed.

Researchers from Dutch security firm De Eindbazen discovered the vulnerability during a capture-the-flag event at the Nullcon event last year.

 

 

A workaround fix on which the failed patches (PHP versions 5.3.12 and 5.4.2) were based was posted to De Eindbbazen's web site which included technical details on the flaw.

Researchers warned that users not follow “homebrew” fixes posted in online comments about the flaw.

The flaw affected classic CGI servers and was centred on a query string that issued a “-s” command argument pushed to PHP. It had existed since 2004, researchers said.

The research firm recommended users use a wrapper binary around the php-cgi binary until a permanent fix is released.

Add iTnews as your trusted source

Got a news tip for our journalists? Share it with us anonymously here.

Copyright © SC Magazine, Australia

Tags:

Most Read Articles

Coles Group investigating a cyber incident

Coles Group investigating a cyber incident

Hijacked website testing tool plants card skimmer on Australian brands’ sites

Hijacked website testing tool plants card skimmer on Australian brands’ sites

Nginx servers rootable through critical flaws, unpatched Linux kernel bug

Nginx servers rootable through critical flaws, unpatched Linux kernel bug

Kernel-crashing NoisyTCP bug sat in Linux for 11 years

Kernel-crashing NoisyTCP bug sat in Linux for 11 years

Log In

  |  Forgot your password?