PHP 'zero-day' hole found

Powered by SC Magazine
 

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.

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.

Copyright © SC Magazine, Australia


PHP 'zero-day' hole found
 
 
 
Top Stories
Meet FABACUS, Westpac's first computer
GE225 operators celebrate gold anniversary.
 
NSW Govt gets ready to throw out the floppy disks
[Opinion] Dominic Perrottet says its time for government to catch up.
 
iiNet facing new copyright battle with Hollywood
Fighting to protect customer details.
 
 
Sign up to receive iTnews email bulletins
   FOLLOW US...
Latest Comments
Polls
In which area is your IT shop hiring the most staff?




   |   View results
IT security and risk
  26%
 
Sourcing and strategy
  12%
 
IT infrastructure (servers, storage, networking)
  22%
 
End user computing (desktops, mobiles, apps)
  15%
 
Software development
  25%
TOTAL VOTES: 346

Vote
Would your InfoSec team be prepared to share threat data with the Australian Government?

   |   View results
Yes
  58%
 
No
  42%
TOTAL VOTES: 144

Vote