PHP Biztonság Megszegés - Fontos
Dátum: 2004. december 07. kedd, 02:41
Rovat: PHP-Nuke biztonsági javításai


PHP-Nuke 6.5 - 7.6

Minden felhaszálónknak javasoljuk sürgősen készítsék el a következő módosítást a viewtopic.php - ben.  Nyisd meg a viewtopic.php -t valamilyen szövegszerkesztővel. Keresd meg a következő részt a kódban:

I urge all our users to make the following change to viewtopic.php as a matter of urgency. Open viewtopic.php in any text editor. Find the following section of code:

//
// Was a highlight request part of the URI?
//

$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
// Split words and phrases
$words = explode(' ', trim(htmlspecialchars(urldecode($HTTP_GET_VARS['highlight']))));
for($i = 0; $i < sizeof($words); $i++)
{

és cseréld erre:
and replace with:


//
// Was a highlight request part of the URI?
//
$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
// Split words and phrases
$words = explode(' ', trim(htmlspecialchars($HTTP_GET_VARS['highlight'])));
for($i = 0; $i < sizeof($words); $i++)
{

Note: Please inform as many people as possible about this issue. If you're a hosting provider please inform your customers if possible. Else we advise you implement some level of additional security if you run ensim or have PHP running cgi under suexec, etc.









A cikk tulajdonosa: PHP-Nuke
http://www.nuker.hu

A cikk webcíme:
http://www.nuker.hu/cikk36.html