Compare commits

...
8 Commits
Author SHA1 Message Date
chicpro c6bdc172ee 5.1.16 버전변경 2016-04-20 11:08:39 +09:00
sora90224 c3cf74f0c5 관리자 부가서비스 kcp 로고 변경 2016-04-20 11:07:58 +09:00
chicpro 52db203ecd 필터링 특수문자 추가 2016-04-20 11:07:23 +09:00
chicpro 6e05353f31 sst 변수 필터링 특수문자 추가 2016-04-20 11:07:12 +09:00
chicpro 7f6a9a090a 5.1.15 버전변경 2016-03-21 09:50:06 +09:00
sora90224 1825830c3d 모바일 쪽지함 이름겹침수정 2016-03-09 15:03:14 +09:00
chicpro 3047e09f88 5.1.14 버전변경 2016-03-07 10:41:33 +09:00
chicpro 990af076af 커맨드 인젝션 취약점(16-164, 16-165) 수정 2016-02-29 15:14:15 +09:00
7 changed files with 18 additions and 8 deletions

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 18 KiB

+3 -3
View File
@@ -228,7 +228,7 @@ $qstr = '';
if (isset($_REQUEST['sca'])) { if (isset($_REQUEST['sca'])) {
$sca = clean_xss_tags(trim($_REQUEST['sca'])); $sca = clean_xss_tags(trim($_REQUEST['sca']));
if ($sca) { if ($sca) {
$sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)]/", "", $sca); $sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", "", $sca);
$qstr .= '&amp;sca=' . urlencode($sca); $qstr .= '&amp;sca=' . urlencode($sca);
} }
} else { } else {
@@ -237,7 +237,7 @@ if (isset($_REQUEST['sca'])) {
if (isset($_REQUEST['sfl'])) { if (isset($_REQUEST['sfl'])) {
$sfl = trim($_REQUEST['sfl']); $sfl = trim($_REQUEST['sfl']);
$sfl = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sfl); $sfl = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*\s]/", "", $sfl);
if ($sfl) if ($sfl)
$qstr .= '&amp;sfl=' . urlencode($sfl); // search field (검색 필드) $qstr .= '&amp;sfl=' . urlencode($sfl); // search field (검색 필드)
} else { } else {
@@ -255,7 +255,7 @@ if (isset($_REQUEST['stx'])) { // search text (검색어)
if (isset($_REQUEST['sst'])) { if (isset($_REQUEST['sst'])) {
$sst = trim($_REQUEST['sst']); $sst = trim($_REQUEST['sst']);
$sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sst); $sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*\s]/", "", $sst);
if ($sst) if ($sst)
$qstr .= '&amp;sst=' . urlencode($sst); // search sort (검색 정렬 필드) $qstr .= '&amp;sst=' . urlencode($sst); // search sort (검색 정렬 필드)
} else { } else {
+1 -1
View File
@@ -5,7 +5,7 @@
********************/ ********************/
define('G5_VERSION', '그누보드5'); define('G5_VERSION', '그누보드5');
define('G5_GNUBOARD_VER', '5.1.13'); define('G5_GNUBOARD_VER', '5.1.16');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true); define('_GNUBOARD_', true);
+2 -1
View File
@@ -135,7 +135,8 @@
#memo_list_ul {margin:0 20px;padding:0;border-top:1px solid #e9e9e9;list-style:none} #memo_list_ul {margin:0 20px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#memo_list_ul li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9} #memo_list_ul li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9}
#memo_list_ul .memo_link {} #memo_list_ul .memo_link {}
#memo_list_ul .memo_send {position:absolute;top:10px;right:30px} #memo_list_ul .memo_send {display:block;margin-top:4px}
#memo_list_ul .memo_send a{color:#777}
#memo_list_ul .memo_read {font-size:0.95em;color:#666} #memo_list_ul .memo_read {font-size:0.95em;color:#666}
#memo_list_ul .memo_del {position:absolute;top:10px;right:0} #memo_list_ul .memo_del {position:absolute;top:10px;right:0}
+8 -1
View File
@@ -25,7 +25,14 @@ $mbphnNo = 'x'; // 휴대폰번호 (고정
$svcTxSeqno = get_uniqid(); // 거래번호. 동일문자열을 두번 사용할 수 없음. ( 20자리의 문자열. 0-9,A-Z,a-z 사용.) $svcTxSeqno = get_uniqid(); // 거래번호. 동일문자열을 두번 사용할 수 없음. ( 20자리의 문자열. 0-9,A-Z,a-z 사용.)
$clientIp = $_SERVER['SERVER_ADDR']; // 회원사 IP, $_SERVER["SERVER_ADDR"] 사용가능. $clientIp = $_SERVER['SERVER_ADDR']; // 회원사 IP, $_SERVER["SERVER_ADDR"] 사용가능.
$clientDomain = $_SERVER['HTTP_HOST']; // 회원사 도메인, $_SERVER["HTTP_HOST"] 사용가능. //$clientDomain = $_SERVER['HTTP_HOST']; // 회원사 도메인, $_SERVER["HTTP_HOST"] 사용가능.
$p = @parse_url($_SERVER['HTTP_HOST']);
if(isset($p['host']) && $p['host'])
$clientDomain = $p['host'];
else
$clientDomain = $_SERVER['SERVER_NAME'];
unset($p);
$rsv1 = '0'; // 예약 항목 $rsv1 = '0'; // 예약 항목
$rsv2 = '0'; // 예약 항목 $rsv2 = '0'; // 예약 항목
+2 -1
View File
@@ -9,7 +9,8 @@ include_once('./hpcert.config.php');
**************************************************************************/ **************************************************************************/
/* 공통 리턴 항목 */ /* 공통 리턴 항목 */
$idcfMbrComCd = $_POST['idcf_mbr_com_cd']; // 고객사코드 //$idcfMbrComCd = $_POST['idcf_mbr_com_cd']; // 고객사코드
$idcfMbrComCd = $memId;
$hsCertSvcTxSeqno = $_POST['hs_cert_svc_tx_seqno']; // 거래번호 $hsCertSvcTxSeqno = $_POST['hs_cert_svc_tx_seqno']; // 거래번호
$rqstSiteNm = $_POST['rqst_site_nm']; // 접속도메인 $rqstSiteNm = $_POST['rqst_site_nm']; // 접속도메인
$hsCertRqstCausCd = $_POST['hs_cert_rqst_caus_cd']; // 인증요청사유코드 2byte (00:회원가입, 01:성인인증, 02:회원정보수정, 03:비밀번호찾기, 04:상품구매, 99:기타) $hsCertRqstCausCd = $_POST['hs_cert_rqst_caus_cd']; // 인증요청사유코드 2byte (00:회원가입, 01:성인인증, 02:회원정보수정, 03:비밀번호찾기, 04:상품구매, 99:기타)
@@ -135,7 +135,8 @@
#memo_list_ul {margin:0 20px;padding:0;border-top:1px solid #e9e9e9;list-style:none} #memo_list_ul {margin:0 20px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#memo_list_ul li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9} #memo_list_ul li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9}
#memo_list_ul .memo_link {} #memo_list_ul .memo_link {}
#memo_list_ul .memo_send {position:absolute;top:10px;right:30px} #memo_list_ul .memo_send {display:block;margin-top:4px}
#memo_list_ul .memo_send a{color:#777}
#memo_list_ul .memo_read {font-size:0.95em;color:#666} #memo_list_ul .memo_read {font-size:0.95em;color:#666}
#memo_list_ul .memo_del {position:absolute;top:10px;right:0} #memo_list_ul .memo_del {position:absolute;top:10px;right:0}