← Java / Spring 목차

JAVA-023 / 기초

Actuator 엔드포인트 전체 노출

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

왜 문제가 될까요?

/actuator/env, /heapdump 로 비밀값과 메모리 덤프가 유출된다.

이렇게 수정하세요

yaml
management.endpoints.web.exposure.include: health,info
management.endpoint.env.show-values: never

더 읽기