[b:a59612ddfc][Security Fix] Possible SQL Injection [phpBB 2.0.7a][/b:a59612ddfc]
Noticia por Debe estar registrado para ver este enlace. en phpbb.com
Se a notificado a phpbb.com de un defecto en search.html. Se recomienda que todos los usuarios de phpBB 2.0.x deben realizar los cambios especificados abajo.
Los archivos de descarga de phpbb.com estan puestos al dia, por lo tanto, las nuevas instalaciones y actualizaciones estan inmunes.
[color=blue:a59612ddfc][b:a59612ddfc]Para fijar este defecto, por favor abrir search.html en cualquier editor de texto y seguir las instrucciones:[/b:a59612ddfc][/color:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc]$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ? $HTTP_POST_VARS['show_results'] : 'posts';[/code:1:a59612ddfc]
[b:a59612ddfc]DESPUES AÃ?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?ADIR:[/b:a59612ddfc]
[code:1:a59612ddfc]$show_results = ($show_results == 'topics') ? 'topics' : 'posts';[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $store_vars = array('search_results', 'total_match_count', 'split_search', 'sort_by', 'sort_dir', 'show_results', 'return_chars');[/code:1:a59612ddfc]
[b:a59612ddfc]DESPUES AÃ?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?ADIR:[/b:a59612ddfc]
[code:1:a59612ddfc] $search_results = '';[/code:1:a59612ddfc]
[color=blue:a59612ddfc][b:a59612ddfc]Para fijar los problemas de redireccion:[/b:a59612ddfc][/color:a59612ddfc]
[b:a59612ddfc]Abrir login.php:
ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";[/code:1:a59612ddfc]
[b:a59612ddfc]REEMPLAZAR POR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('& a m p;', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : '';[/code:1:a59612ddfc]
[b:a59612ddfc]REEMPLAZAR POR:[/b:a59612ddfc]
[code:1:a59612ddfc] $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('& a m p;', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : '';[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "";[/code:1:a59612ddfc]
[b:a59612ddfc]REEMPLAZAR POR:[/b:a59612ddfc]
[code:1:a59612ddfc] $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('& a m p;', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "";[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = (!empty($HTTP_POST_VARS['redirect'])) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : htmlspecialchars($HTTP_GET_VARS['redirect']);[/code:1:a59612ddfc]
[b:a59612ddfc]DESPUES AÃ?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?ADIR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = str_replace('& a m p;', '&', $url);[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";[/code:1:a59612ddfc]
[b:a59612ddfc]REEMPLAZAR POR:[/b:a59612ddfc]
[code:1:a59612ddfc] $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('& a m p;', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";[/code:1:a59612ddfc]
[color=blue:a59612ddfc][b:a59612ddfc]Para fijar el peque���������������±o error del color de la fila mostrada en mensajes privados, estas instrucciones:[/b:a59612ddfc][/color:a59612ddfc]
[b:a59612ddfc]Abrir privmsg.php:
ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] message_die(GENERAL_ERROR, 'Could not query private messages', '', __LINE__, __FILE__, $sql);
}
if ( $row = $DB->sql_fetchrow($result) )
{[/code:1:a59612ddfc]
[b:a59612ddfc]DESPUES AÃ?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?ADIR:[/b:a59612ddfc]
[code:1:a59612ddfc] $i = 0;[/code:1:a59612ddfc]
[b:a59612ddfc]ENCONTRAR:[/b:a59612ddfc]
[code:1:a59612ddfc] $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];[/code:1:a59612ddfc]
[b:a59612ddfc]DESPUES AÃ?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?ADIR:[/b:a59612ddfc]
[code:1:a59612ddfc] $i++;[/code:1:a59612ddfc]
[b:a59612ddfc][color=red:a59612ddfc]*[/color:a59612ddfc] El codigo [color=green:a59612ddfc]& a m p;[/color:a59612ddfc] hay que ponerlo [color=red:a59612ddfc]SIN ESPACIOS, TODO JUNTO[/color:a59612ddfc] esta escrito de ese modo para poder ser mostrado.[/b:a59612ddfc]
[b:a59612ddfc]Sobre lanzamiento de 2.0.7, ver este Debe estar registrado para ver este enlace.[/b:a59612ddfc]












