[security] 주문자 휴대폰 출력 인코딩 및 리다이렉트 URL 호스트 검증

- adm/shop_admin/orderform.php: 주문상세 hidden 의 od_hp 출력에
  get_text() 적용 (인접한 od_name 과 동일 처리, 누락분 보완)
- bbs/member_cert_refresh_update.php: 본인확인 갱신 후 이동 URL 에
  check_url_host() 적용
- plugin/social/includes/functions.php: 소셜 로그인/연동 후 이동
  URL 2곳에 동일하게 check_url_host() 적용

login_check.php 등 기존 코드와 동일한 호스트 검증 패턴으로,
같은 도메인/상대경로 복귀는 그대로 동작하고 타 도메인 이동만 차단.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
thisgunandClaude Opus 4.8 committed 2026-05-29 09:16:29 +00:00
1 parent ff9a7534ed
commit 31871ee3e6
3 files changed
+9 -2

No files matched your search

+6 -1
View File
@@ -87,4 +87,9 @@ run_event('cert_refresh_update_after', $mb_id);
//===============================================================
(empty($url))? goto_url(G5_URL) : goto_url($url);
if ($url) {
check_url_host($url, '', G5_URL, true);
goto_url($url);
} else {
goto_url(G5_URL);
}