ARKO 리뉴얼 — 문화품앗이/자원봉사 포털 (Spring 3 + iBatis + eGov 2.7)
1) 계정정보 하드코딩 (CWE-798)
- SmsBasicDBUtil 의 JDBC URL/USER/PASSWORD 소스 하드코딩 제거 →
EgovProperties(Globals.sms.jdbc.url/username/password)로 외부화.
※ globals-*.properties 는 .gitignore 대상(자격증명 미추적)이므로, 배포 환경마다
아래 키를 별도 설정해야 한다:
Globals.sms.jdbc.url / .username / .password
2) 보안 응답 헤더 (CWE-693 등)
- web.xml 에 Tomcat HttpHeaderSecurityFilter 추가.
X-Frame-Options: SAMEORIGIN(관리자 iframe 사용 → DENY 아님),
X-Content-Type-Options: nosniff. HSTS 는 HTTP 환경 오작동 방지로 off(운영 HTTPS 시 on).
- 쿠키 HttpOnly 는 Tomcat 기본 적용 확인(추가 조치 불요).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbEjijyQdS54xso1d2ks3u
|
||
|---|---|---|
| .gitea/workflows | ||
| deploy | ||
| src | ||
| WebContent | ||
| .gitattributes | ||
| .gitignore | ||
| .pmd | ||
| CLAUDE.md | ||
| pom.xml | ||
| pom.xml.20250515 | ||
| pom.xml.20250515_2 | ||
| 개인정보보호_개발진행현황.md | ||
| 개인정보보호_개발항목.docx | ||
| 개인정보보호_비밀번호해시_점검노트.md | ||
| 개인정보보호_시스템로그삭제정책_분리노트.md | ||
| 개인정보보호_인증정보저장정책_점검노트.md | ||
| 디자인.md | ||
| 발주기관 확인 항목.txt | ||