Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,900 members, 7,802,915 topics. Date: Saturday, 20 April 2024 at 03:11 AM

Remote Code Execution Vulnerability In PHP Still Unresolved - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Remote Code Execution Vulnerability In PHP Still Unresolved (1174 Views)

Vulnerability In Wordpress And Drupal / Dos (denial Of Service) Vulnerability In Apache Web Server / Quick Sql Injection Vulnerability Test (2) (3) (4)

(1) (Reply)

Remote Code Execution Vulnerability In PHP Still Unresolved by TheArbiter: 8:11pm On May 05, 2012
On Wednesday, a remote code execution vulnerability in PHP was accidentally exposed to the Web, prompting fears that it may be used to target vulnerable websites on a massive scale. The bug itself was traced back to 2004, and came to light during a recent CTF competition.

The group that discovered the bug was waiting for a patch to be published before they released any information. However, on Wednesday details were leaked to Reddit prompting the group (Eindbazen) disclose what they had discovered.

“When PHP is used in a CGI-based setup (such as Apache's mod_cgid), the php-cgi receives a processed query string parameter as command line arguments which allows command-line switches, such as -s, -d or -c to be passed to the php-cgi binary, which can be exploited to disclose source code and obtain arbitrary code execution,” a CERT advisory on the flaw explains.

In short, the flaw will attackers to issue commands to servers where PHP has been compiled to run under CGI mode. This is often done for security and development reasons. It’s important to note that FastCGI configurations are not impacted by the flaw.

PHP developers pushed a fix for the flaw, resulting in the release of PHP 5.3.12 and 5.4.2, but as it turns out it didn’t actually remove the vulnerability.

“The new PHP versions as well as the official PHP patch contain a bug which makes the fix trivial to bypass. Use our mitigations for now,” the Eindbazen team wrote on their blog.

Mitigations as well as additional information from Eindbazen can be found on their website. You can view it Here: http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/.

Finally, the developers over at PHP are aware of the issues created by the fix and are working to stamp out the problem.

Story link: http://www.securityweek.com/official-fix-php-flaw-easily-bypassed-researchers-say

1 Like

Re: Remote Code Execution Vulnerability In PHP Still Unresolved by magnumx: 9:31pm On May 06, 2012
Nice one

(1) (Reply)

Can I Get A Guide How To Download Or Where To Download Drupal 7 Bible / How To Add A Dotcom Domain To Wordpress *help Needed* / Is There Any Forum Like Nairaland?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.