CiberMorph
Portal    Foro    Buscar    FAQ    Medallas    Registrarse    Conectarse
Normas de este Foro  
Antes de nada, lee las Normas de Project Morph.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Solo tendras algo de Ayuda si respetas el Copyright de phpBB.
NOTA: No preguntéis por MP ni E-Mail. No se dará respuesta a las posibles dudas que mandéis. Poner en el Foro, vuestras dudas
si podemos las intentaremos solucionar. Asi quedara constancia por si alguien más, pudiera necesitarlo.

Recordar que esto no es un foro de soporte, solo se intenta ayudar. Saludos a todos .^-^.
© Morph -
Project Morph

Publicar Nuevo Tema  Responder al Tema Página 1 de 1
 
Foros HacKeD
Autor Mensaje
Responder Citando
Mensaje  Foros HacKeD 
 
Hola os dejo un par de fixes y enlaces por si alguien los necesita.
Parece ser que los foros tienen un problema en la Kb y anda la cosa revolucionada y han roto ya varios foros php. Incluso paginas oficiales como XS Alemania. Pues ya sabéis a instalar toca.
La única parte que queda en interrogante es esta "register_globals" Puede dar problemas en las paginas si se desactiva. Por lo demas los fixes estan instalados en este foro y en principio no veo que le afecten en su funcionamiento. No se si detendran posibles ataques o no pero al foro no le afecta . Saludos y suerte
Fixe de Phpbb-XS2 http://www.phpbbxs.com/-img-src-tem...2034.html#12034

Código: [Descargar] [Ocultar]
  1. ##############################################################  
  2. ## MOD Title: Avoid Effects of Register Globals (precaution)  
  3. ## MOD Author: Pit < matthew@teh.ath.cx > (Matt Kavanagh) n/a  
  4. ## MOD Description: This will detect register_globals if enabled,  
  5. ## and then erase all the variables injected as a consequence  
  6. ## of register_globals. Hopefully, this will cut out a few  
  7. ## security vulnerabilities.  
  8. ## MOD Version: 1.0.2  
  9. ##  
  10. ## Installation Level:    Easy  
  11. ## Installation Time:    1-2 Minutes  
  12. ## Files To Edit: extension.inc  
  13. ##  
  14. ## Included Files: n/a  
  15. ##############################################################  
  16. ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the  
  17. ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code  
  18. ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered  
  19. ## in our MOD-Database, located at: http://www.phpbb.com/mods/  
  20. ##############################################################  
  21. ## Author Notes:  
  22. ## If any MODs have added variables above the place where you  
  23. ## add the code, they can be erased. You can add them to the  
  24. ## $protect_vars array, you can move them after this code, or  
  25. ## you can move this code closer to the start (such as moving  
  26. ## it to extension.inc).  
  27. ## REMEMBER: This is a workaround, and it might not be perfect.  
  28. ## If you are concerned, just disable register_globals entirely.  
  29. ## THERE IS NO SUBSTITUTE FOR KEEPING UP TO DATE WITH NEW phpBB  
  30. ## VERSIONS.  
  31. ##############################################################  
  32. ## MOD History:  
  33. ##  
  34. ##   2004-03-27 - Version 0.0.1  
  35. ##      - Initial beta version  
  36. ##  
  37. ##   2004-03-27 - Version 0.0.2  
  38. ##      - Beta still: added more variables to $protect_vars,  
  39. ##      to prevent kiddies causing useless but annoying errors.  
  40. ##  
  41. ##   2004-03-27 - Version 0.1.0  
  42. ##      - Super furry "from 0.0.1 to 0.1.0 in a day" fun version.  
  43. ##      Rewrote code, removed nuisance bugs (numeric variable  
  44. ##      names).  
  45. ##  
  46. ##   2004-03-28 - Version 0.1.1  
  47. ##      - Added inarray for evil PHP 3.  
  48. ##  
  49. ##   2004-03-28 - Version 0.1.2  
  50. ##      - More evil stupid PHP 3 fixes.  
  51. ##  
  52. ##   2004-03-28 - Version 1.0.0  
  53. ##      - Bugs finally ironed out. Initial stable release.  
  54. ##  
  55. ##   2004-04-22 - Version 1.0.1  
  56. ##      - From this point I cease to believe what the  
  57. ##        PHP manual tells me; it just isn't accurate enough  
  58. ##        for security work. First $_SESSION isn't listed as  
  59. ##        a register globals candidate, and now I notice that  
  60. ##        the new superglobals can in fact be accessed variably  
  61. ##        despite the exact opposite being in the manual.  
  62. ##        Short story: another fix, my fault.  
  63. ##  
  64. ##   2004-05-01 - Version 1.0.2  
  65. ##      - My fault :) inarray is defined for the admin panel too.  
  66. ##  
  67. ##############################################################  
  68. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD  
  69. ##############################################################  
  70.  
  71. #  
  72. #-----[ OPEN ]---------------------------------------------  
  73. #  
  74. extension.inc  
  75.  
  76. #  
  77. #-----[ FIND ]---------------------------------------------  
  78. #  
  79. if ( !defined('IN_PHPBB') )  
  80. {  
  81.    die("Hacking attempt");  
  82. }  
  83.  
  84. #  
  85. #-----[ AFTER, ADD ]---------------------------------------------  
  86. #  
  87.  
  88. // assume it's on by default. there was no option to disable  
  89. // register_globals in PHP3.  
  90. $register_globals = true;  
  91.  
  92. // ini_get is only in PHP4+  
  93. if(function_exists('ini_get'))  
  94. {  
  95.    // We have PHP4, let's find out if register_globals is  
  96.    // enabled.  
  97.    $register_globals = ini_get('register_globals');  
  98. }  
  99.  
  100. if($register_globals)  
  101. {  
  102.    // Variables to be protected; may  
  103.    // add automatic detection in the  
  104.    // future, but probably not worth  
  105.    // bothering. Just don't set any  
  106.    // variables (constants are fine)  
  107.    // above this point.  
  108.    $protect_vars = array(  
  109.        'HTTP_ENV_VARS',  
  110.        'HTTP_GET_VARS',  
  111.        'HTTP_POST_VARS',  
  112.        'HTTP_COOKIE_VARS',  
  113.        'HTTP_POST_FILES',  
  114.        'HTTP_SERVER_VARS',  
  115.        'HTTP_SESSION_VARS',  
  116.        '_ENV',  
  117.        '_GET',  
  118.        '_POST',  
  119.        '_COOKIE',  
  120.        '_FILES',  
  121.        '_SERVER',  
  122.        '_SESSION',  
  123.        'GLOBALS',  
  124.        'input_arrays',  
  125.        'input_array',  
  126.        'protect_vars',  
  127.        'phpbb_root_path',  
  128.        'no_page_header'  
  129.    );  
  130.  
  131.    // Arrays to loop through for input.  
  132.    // Remember, case sensitive.  
  133.    // By default these are just the arrays  
  134.    // register_globals pulls from.  
  135.    $input_arrays = array(  
  136.        'HTTP_ENV_VARS',  
  137.        'HTTP_GET_VARS',  
  138.        'HTTP_POST_VARS',  
  139.        'HTTP_COOKIE_VARS',  
  140.        'HTTP_POST_FILES',  
  141.        'HTTP_SERVER_VARS',  
  142.        'HTTP_SESSION_VARS'  
  143.    );  
  144.    // Just get the values of each item in $input_arrays;  
  145.    // they are the names of the input arrays.  
  146.    while(list(,$input_array) = each($input_arrays))  
  147.    {  
  148.        // Just get the key names of each item in the input  
  149.        // array; they are the names of the possible variables.  
  150.        while(list($key,) = @each(${$input_array}))  
  151.        {  
  152.            // Variable names are case sensitive (in PHP 5  
  153.            // at least)..but we don't want people having  
  154.            // variables that get unset just because they  
  155.            // were capitalised wrong in $protect_vars.  
  156.            for($i = 0; $i < count($protect_vars); $i++)  
  157.            {  
  158.                if(strtolower($protect_vars[$i]) == strtolower($key))  
  159.                {  
  160.                    continue 2;  
  161.                }  
  162.            }  
  163.  
  164.            unset(${$key});  
  165.        }  
  166.        @reset(${input_array});  
  167.    }  
  168.    unset($register_globals, $protect_vars, $input_arrays, $input_array, $key, $i);  
  169. }  
  170.  
  171. #  
  172. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------  
  173. #  
  174.  
  175. # EoM  


Y este de http://www.mx-system.com/forum/viewtopic.php?t=8698

Código: [Descargar] [Ocultar]
  1. To apply the patch for the latest version of mx_kb, open /mx_kb/includes/kb_constants.php:  
  2.  
  3. Find:  
  4.  
  5. Code:  
  6. if ( !MXBB_MODULE )  
  7. {  
  8.  
  9.  
  10. After, Add  
  11.  
  12. Code:  
  13.   if( !defined('IN_PHPBB') )  
  14.   {  
  15.      die('Hacking attempt');  
  16.      exit;  
  17.   }  
  18.  
  19.  
  20. Find:  
  21.  
  22. Code:  
  23.   $is_block = false;  
  24. }  
  25.  
  26.  
  27. After, Add:  
  28.  
  29. Code:  
  30. else  
  31. {  
  32.   if( !defined('IN_PORTAL') )  
  33.   {  
  34.      die('Hacking attempt');  
  35.      exit;  
  36.   }  


Recomiensan aplicar los dos fixes en cuanto al otro tema, cada uno que haga en principio lo que mejor le parezca. Pero recordar que puede afectar a otras paginas de vuestra web, asi como entrar via FTP. etc. Saludos  leee





____________
En breve me pasare al lado oscuro.
Antes de nada, lee las Normas de CiberMorph.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Solo tendras algo de Ayuda si respetas el Copyright de phpBB.
NOTA: No preguntéis por MP ni E-Mail. No se dará respuesta a las posibles dudas que mandéis. Poned en el Foro, vuestras dudas,
si podemos las intentaremos solucionar. Así quedará constancia por si alguien más pudiera necesitarlo

Recordad que esto no es un foro de soporte, sólo se intenta ayudar. Saludos a todos .^-^.
Morph


Image
Desconectado MSN Messenger Yahoo Messenger Ver perfil del usuario Enviar Mensaje Privado Visitar sitio Web del Usuario
Descargar Mensaje Volver arriba Página Inferior
Mostrar mensajes anteriores:   
Ocultar¿Este tema fue útil?

[ Ver Información Detallada

No está autorizado a valorar este Tema

Media de Valoración Valoración Mínima Valoración Máxima Número de Valoraciones
10.00 10 10 1
Compartir este tema
blinkslist.com blogmarks.net co.mments.com del.icio.us digg.com newsvine.com facebook.com fark.com feedmelinks.com furl.net google.com linkagogo.com ma.gnolia.com meneame.net netscape.com reddit.com shadows.com simpy.com slashdot.org smarking.com spurl.net stumbleupon.com technorati.com favorites.live.com yahoo.com DIGG ITA Fai Informazione KiPapa Ok Notizie Segnalo
OcultarTemas Parecidos
Tema Autor Foro Respuestas Último Mensaje
No hay nuevos mensajes Foros Xs pertiga Phpbb2-XS2 3 26 Feb 2007 14:20 Ver último mensaje
pertiga
No hay nuevos mensajes Permisos En Los Foros Link Phpbb-3 0 24 Feb 2008 22:45 Ver último mensaje
Link
No hay nuevos mensajes No Se Crear Foros? sael Icy Phoenix 1 04 Jul 2007 17:49 Ver último mensaje
Morph
No hay nuevos mensajes Descripción de los foros zankyw Phpbb2-XS2 7 03 Jun 2006 00:32 Ver último mensaje
zankyw
No hay nuevos mensajes Permisos En Los Foros Anthrax Icy Phoenix 0 21 Mar 2008 18:39 Ver último mensaje
Anthrax

Publicar Nuevo Tema  Responder al Tema  Página 1 de 1
 

Usuarios navegando en este Tema: 0 Registrados, 0 Ocultos y 1 Invitado
Usuarios Registrados conectados: Ninguno


 
Lista de Permisos
No puede crear mensajes
No puede responder temas
No puede editar sus mensajes
No puede borrar sus mensajes
No puede votar en encuestas
No puede adjuntar archivos
No Puede descargar archivos
No Puede enviar eventos al Calendario



  
.:: MorpH 2003@2008. Afiliados y Enlaces de Interes ::.


 Páginas Web alojadas en Fenixer

 MuchoGrafico Paz y Justicia InForHosting Astrotecno JanuWeb Lphant  PhPBB-es
 eddb phpBBHacks.Es Buscar con Google Gmail Google Analytics Punto Warez Juegos Flash Gratis Tu Web Aqui



Valid Robots.txt

Webmasters, ganen dinero mostrando Avisos de contexto Oxado