웹 애플리케이션Web application

CWE-434 위험한 파일 업로드Unrestricted File Upload

실행 가능한 파일 형식의 업로드를 허용하는 결함.Dangerous file types can be uploaded and executed.

근본 원인 패턴Root-cause pattern

확장자/Content-Type만 보고 판단하거나, 업로드 경로가 실행 가능한 웹 루트 안에 있다.Decisions based on extension/Content-Type only, or uploads stored in an executable web root.

전형적인 패치Typical fix

웹 루트 밖 저장, 이름 재생성, 내용 기반 검증.Store outside web root, regenerate names, content-based validation.

0 편posts

아직 이 클래스의 글이 없습니다. 아래 패턴 요약으로 먼저 학습하세요.No posts in this class yet. Start with the pattern summary below.

✎ CWE-434 퀴즈 풀기Quiz on CWE-434