diff --git a/lib/common.lib.php b/lib/common.lib.php index ab0569188..6f9d0e906 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3510,7 +3510,7 @@ function is_include_path_check($path='', $is_input='') // 장태진 @jtjisgod 추가 // 보안 목적 : rar wrapper 차단 - if( stripos($path, 'rar:') !== false || stripos($path, 'php:') !== false || stripos($path, 'zlib:') !== false || stripos($path, 'bzip2:') !== false || stripos($path, 'zip:') !== false || stripos($path, 'data:') !== false || stripos($path, 'phar:') !== false ){ + if( stripos($path, 'rar:') !== false || stripos($path, 'php:') !== false || stripos($path, 'zlib:') !== false || stripos($path, 'bzip2:') !== false || stripos($path, 'zip:') !== false || stripos($path, 'data:') !== false || stripos($path, 'phar:') !== false || stripos($path, 'file:') !== false ){ return false; } diff --git a/plugin/okname/hpcert.config.php b/plugin/okname/hpcert.config.php index 06b54b4c7..3ccdc0f15 100644 --- a/plugin/okname/hpcert.config.php +++ b/plugin/okname/hpcert.config.php @@ -5,7 +5,7 @@ if(!$config['cf_cert_use'] || $config['cf_cert_hp'] != 'kcb') alert('기본환경설정에서 KCB 휴대폰본인확인 서비스로 설정해 주십시오.'); // key 디렉토리 체크 -include_once('./key_dir_check.php'); +require_once('./key_dir_check.php'); /************************************************************************** * okname 생년월일 본인 확인서비스 파라미터 diff --git a/plugin/okname/hpcert1.php b/plugin/okname/hpcert1.php index d81aaeb73..a0638ddc4 100644 --- a/plugin/okname/hpcert1.php +++ b/plugin/okname/hpcert1.php @@ -15,8 +15,8 @@ foreach($check_arrays as $key){ certify_count_check($member['mb_id'], 'hp'); // KISA 취약점 내용(KVE-2018-0291) hpcert1.php의 $cmd 함수에 대한 인자 값은 hpcert_config.php 파일에서 설정되나, 이를 다른 페이지에서 포함한 뒤 호출할 시 임의 값 설정 가능 -// 이에 include_once 를 include 로 수정함 -include('./hpcert.config.php'); +// 이에 include_once 를 require 로 수정함 +require('./hpcert.config.php'); /************************************************************************** okname 실행 **************************************************************************/ diff --git a/plugin/okname/hpcert2.php b/plugin/okname/hpcert2.php index ab8d24240..bf706be22 100644 --- a/plugin/okname/hpcert2.php +++ b/plugin/okname/hpcert2.php @@ -1,7 +1,7 @@