Welcome, Guest. Please Login or Register.
November 28, 2024, 09:53:31 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  German User Help  |  Hilfe bzw. Diskussionen zu Mods  |  Sicherheits Bug bei Solved Mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Sicherheits Bug bei Solved Mod  (Read 2045 times)
Juergen
Guest
Sicherheits Bug bei Solved Mod
« on: August 18, 2002, 06:59:21 AM »
Reply with quote

Ich rate Dringend davon ab den Solved Mod zu Installieren. Dieser hebt das ausblenden der Administrator oder Moderator Rechte in den Nachrichten auf. Gäste können dort nachrichten Löschen!! :-[
Original Code:
if (!$mstate)
{
      print "<font size=\"-1\">$menusep<a href=\"$cgi;action=post;threadid=$viewnum;quote=$mid;title=" . URLencode($txt[116]) . ";start=$start\">" . $img[replyquote] . '</a>';
      if(in_array($username,$moderators) || $settings[7] == 'Administrator' || $settings[7] == 'Global Moderator'|| ($ID_MEMBER==$muserID && $ID_MEMBER != -1))
                print "$menusep<a href=\"$cgi;action=modify;msg=$mid;threadid=$viewnum;start=$start\">$img[modify]</a>$menusep<a href=\"javascript:DoConfirm('$txt[154]?','$cgi;action=modify2;threadid=$viewnum;msg=$mid;d=1;start=$start');\">$img[delete]</a>";
      print "</font>";
}
Fehler Code:
if (!$mstate)
{
      print "<font size=\"-1\">$menusep<a href=\"$cgi;action=post;threadid=$viewnum;quote=$mid;title=" . URLencode($txt[116]) . ";start=$start\">" . $img[replyquote] . '</a>';
      if(in_array($username,$moderators) || $settings[7] == 'Administrator' || $settings[7] == 'Global Moderator'|| ($ID_MEMBER==$muserID && $ID_MEMBER != -1))
          print "$solvedmsg";
          print "$menusep<a href=\"$cgi;action=modify;msg=$mid;threadid=$viewnum;start=$start\">$img[modify]</a>$menusep<a href=\"javascript:DoConfirm('$txt[154]?','$cgi;action=modify2;threadid=$viewnum;msg=$mid;d=1;start=$start');\">$img[delete]</a>";
        print "</font>";
}
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  German User Help  |  Hilfe bzw. Diskussionen zu Mods  |  Sicherheits Bug bei Solved Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.027 seconds with 18 queries.