← Java / Spring 목차

JAVA-024 / 고급

Actuator heapdump 를 인증 없이 제공

A05:2021 Security Misconfiguration · CWE-200 Exposure of Sensitive Information

왜 문제가 될까요?

힙 덤프에 DB 비밀번호, 세션 토큰, 키가 평문으로 남는다.

이렇게 수정하세요

yaml
management.endpoints.web.exposure.include: health
management.server.port: 9090   # 내부망 전용 포트 + 방화벽

더 읽기