38 Commits
Author SHA1 Message Date
thisgun 0ae67a652c [KVE-2026-1803] 쿠폰번호 생성에 안전한 난수원 적용
get_coupon_id() 가 microtime 기반 시드로 난수 생성기를 재시드하여
생성 가능한 쿠폰번호가 시드 공간 크기로 제한되던 문제를 수정한다.
기존 구현은 33^16 이 아닌 10^6 개의 값만 생성할 수 있어 전체 집합을
사전 계산할 수 있었다.

- get_random_token_string() 으로 난수 바이트를 얻어 쿠폰번호를 구성
- 문자 종류 수로 나누어 떨어지는 구간만 사용하여 문자 분포 편중 제거
- 헬퍼 미정의 환경을 위해 function_exists 가드 및 mt_rand 보완 경로 유지
- 쿠폰번호 형식(16자, 4자리 하이픈 구분)과 사용 문자는 기존과 동일

plugin/lgxpay/lgdacom/XPayClient.php 의 불필요한 재시드 호출 제거

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit a6cf071f405c79904f7861d5e5efc118f29005dc)
2026-08-24 07:44:22 +00:00
thisgun b5d218d446 인증서 교체로 인한 (구)엘지모듈 토스 결제 안되는 문제 수정 2026-04-16 03:46:30 +00:00
thisgun 316d3542a9 [KVE-2025-0259]XSS 취약점 수정 2025-05-15 09:53:28 +09:00
thisgun 96b30e0df6 Toss Payments - XPay 호출 도메인 변경 lgdacom.conf url 수정 #341 2024-09-04 20:03:13 +09:00
thisgun 532bf6f0f4 토스페이먼츠 (구)lg XPay 도메인 지원종료에 따른 결제도메인 수정 2024-09-03 17:17:55 +09:00
thisgun 7754e12194 토스페이먼츠 테스트 결제 url 수정 2024-07-18 10:28:26 +09:00
thisgun 5e1ab9c1e7 [KVE-2023-5525] 그누보드(영카트) lgxpay plugin XSS취약점 수정 2023-12-04 18:16:20 +09:00
maycactus 3a7d06b19e Fix array element and string offset access using square brackets
In accordance with the PHP RFC deprecating the curly brace syntax for accessing array elements and string offsets, this commit replaces all instances of {} with [].

By making this change, we ensure the codebase remains compliant with the recommended syntax, enhancing code readability and maintainability. The deprecation of curly brace syntax was done to align with best practices and promote a consistent code style.
2023-07-25 13:34:00 -04:00
kit rio 767c3c5562 PHP 8.0 undefined variable 오류 수정
uri.lib.php 에서 uri.class.php 사용하지않고 있음.
2022-05-25 18:34:52 +09:00
projectSylasandkagla 11718eb4c0 [G5-80] 본인인증 비밀번호 찾기 후 비밀번호 변경 관련 수정 2022-04-18 16:51:53 +09:00
projectSylas 8bdf80e38c 본인인증 : 본인이아닌 타인이 인증할때 명의가 변경되지 못하게 수정 2022-01-05 01:50:57 +00:00
projectSylas ae29c976e6 통합인증 : 이름/핸드폰 인풋 밸류 조작시 해쉬값 체크 로직 추가 2022-01-04 05:36:16 +00:00
projectSylas 5b3a895547 본인확인 : submit form name 변경 2021-10-01 06:24:28 +00:00
projectSylas 21269e632b 본인인증 : 전체 모듈 php8 호환 코드 추가, 스위치문 개선 2021-09-28 07:45:25 +00:00
projectSylas 49283792d2 통합인증 : 인증 갱신 관련 추가 작업 2021-09-24 02:55:23 +00:00
projectSylas 15821991f2 본인인증 : 결과페이지 재인증페이지 서브밋 스크립트 추가 2021-09-24 02:47:42 +00:00
projectSylas 1d32545552 회원정보찾기 : 토스 휴대폰 인증 관련 수정 2021-09-15 02:09:41 +00:00
thisgun 9e0fc19c0d PHP8 버전 대응 코드 수정 2021-03-16 11:01:52 +09:00
thisgun 4b4a63a1a1 충돌수정 2021-01-04 18:23:53 +09:00
thisgun 27e9af5e42 php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용 2021-01-04 15:39:15 +09:00
thisgun 582d1a01f4 php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용 2021-01-04 15:33:29 +09:00
thisgun 6a077e31dd LGU 플러스 결제모듈 수정 2019-03-04 15:22:22 +09:00
thisgun 0e41b248f3 Merge branch 'master' of github.com:gnuboard/g5 2019-01-28 16:23:15 +09:00
thisgun 40508b05d0 KVE-2018-2451, 2452, 2453, 2019-0208 그누보드 다중 취약점 수정 2019-01-28 11:11:49 +09:00
thisgun f9d0d693f8 충돌 수정 2019-01-07 14:36:43 +09:00
thisgun 60387c8a95 lg XpayClient 로그 기록 남지 않도록 수정 2019-01-07 14:30:53 +09:00
thisgun 953e301096 로그폴더 검색되지 않도록 수정 2019-01-07 12:06:13 +09:00
thisgun ceb0e3ef01 충돌 수정 2018-11-21 16:41:48 +09:00
thisgun e7caff2e63 KVE-2018-0979 그누보드 영카트 lgxpay XSS 취약점 수정 2018-11-16 10:55:56 +09:00
thisgun b63024f5b9 LGU_PLUS 결제 테스트 URL 주소 변경 2018-08-23 17:58:13 +09:00
thisgun d1ee1eb4e1 lgu 본인인증 기록 관련 수정 2017-10-12 17:21:51 +09:00
thisgun 94cb7f7956 lgu 본인확인 코드 일부 수정 2017-09-06 14:30:55 +09:00
thisgun edbefc256b 휴대폰본인확인 lg 모듈 최근 버전으로 수정 2017-09-06 11:58:51 +09:00
chicpro 8c0b7e45de 오타 수정 2014-12-03 10:07:58 +09:00
chicpro dc1eff24e8 lg 휴대폰인증 타이틀 및 오류안내 한글깨짐 수정 2014-07-03 15:24:48 +09:00
chicpro 4191b9f92e LG유플러스 명칭 통일 2014-05-29 16:01:07 +09:00
chicpro 9388ad70b3 lg u+ 휴대폰 대체인증 오류 수정 2014-05-28 17:24:21 +09:00
chicpro 8ad850072a lg u+ 본인확인 모듈 추가 2014-05-26 13:27:45 +09:00