Remote code source vulnerability

PC software and patches shared by the community: emulators, game fixes, utilities and tools, with versions and links.
User avatar
sniper3d
Master Gamer
Members
Posts: 2480
Joined: Mon 3 Jan 2011 13:07
Wi-Fi: Oui
PS3 Dongle: Aucun

Remote code source vulnerability

Post by sniper3d »

Automatically translated from French.

A PHP-CGI Patch has just been disclosed for remote code execution that can expose all source codes! Vulnérabilité des codes sources à distance The configurations PHP-CGI contain a vulnerability when parsing query string parameters from files php.

Developers were still in the process of building the patch for the flaw when it was revealed Wednesday, but the vulnerability can only be exploited if the server HTTP follows a rather hidden part of the specification CGI.


According to advisory (CVE-2012-1823), the installations PHP-CGI are vulnerable to remote code execution.

You can execute command line arguments like "-s" "show source" passed to PHP via the query string.

For example,
One could see the source via "https://localhost/test.php?-s". An unauthenticated remote attacker could obtain sensitive information, cause a denial of service or may be able to execute arbitrary code with the privileges of the web server.
This bug was named Eindbazen

For now no fix or patch to counter this BUG :shock:

What can this vulnerability do?
It can help an attacker find database passwords, file locations, etc., and execute any file on the server's local disk.

So when PHP is used in a CGI-based configuration the php-cgi receives a query string parameter transformed as command line arguments which allows command lines such as -s, -d or -c to be passed to the php-cgi, which can be exploited to disclose source code and obtain arbitrary code execution
Last edited by MamieSophie on Fri 25 May 2012 15:05, edited 1 time in total.
Reason: Corrigé!
User avatar
Oops
God Member
Members
Posts: 7083
Joined: Thu 2 Apr 2009 00:35
Wi-Fi: Oui
CFW Wii: Wii vendu
Type de DS: 3DS
Linker DS: R4i GOLD 3DS (r4ids.cn)
CFW PS3: ode a venir
Type PSP: Fat
Firmware PSP: 6.60 pro-B10
lecteurxbox: LiteOn
Firmware lecteur Xbox360: LT+3.0 rgh2 coolrunn
Dashboard: 3.775
Location: 17 et 95

Re: Remote code source vulnerability

Post by Oops »

Automatically translated from French.

uhhhh.... Help!!!! :mrgreen: :98: :vacance:

Everything for PC