그누보드 4.37.18
4.37.18 (2014.08.11)
: SQL Injection 취약점이 발견되어 수정 (한국인터넷진흥원을 통하여 laughfool님이 알려주셨습니다.)
bbs/register_form_update.php
$mb_email = addslashes($mb_email);
: SQL Injection 취약점이 발견되어 수정 (한국인터넷진흥원을 통하여 laughfool님이 알려주셨습니다.)
bbs/register_form_update.php
$mb_email = addslashes($mb_email);
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 16개
무더위 속에 건강 유의하시길 바라며, 늘 감사한 마음 전합니다.
문장을 추가해야하는건지 아니면 부분을 고쳐야하는지 모르겠어요
추가하는 코드입니다.
$mb_password = trim(mysql_real_escape_string($_POST[mb_password]));
$mb_name = trim(strip_tags(mysql_real_escape_string($_POST[mb_name])));
$mb_nick = trim(strip_tags(mysql_real_escape_string($_POST[mb_nick])));
$mb_email = trim(strip_tags(mysql_real_escape_string($_POST[mb_email])));
$mb_homepage = trim(strip_tags(mysql_real_escape_string($_POST[mb_homepage])));
$mb_email = str_replace('\\', '', $mb_email);
$mb_email = addslashes($mb_email);
$mb_homepage = str_replace('\\', '', $mb_homepage);
$mb_homepage = addslashes($mb_homepage);