인젝션 · 역직렬화Injection & deserialization

CWE-89 SQL 인젝션SQL Injection

입력이 SQL 문법의 일부로 해석되는 결함.Input is interpreted as part of SQL syntax.

근본 원인 패턴Root-cause pattern

문자열 연결로 쿼리를 만든다. 데이터와 코드(쿼리 구조)의 경계가 없다.Queries built by string concatenation; no boundary between data and code.

전형적인 패치Typical fix

파라미터 바인딩(Prepared Statement), ORM 안전 API, 최소 권한 DB 계정.Parameterized queries, safe ORM APIs, least-privilege DB accounts.

0 편posts

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

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