🇰🇷 한글 설명
Netty 프레임워크의 XmlDecoder 사용 시 보안 설정이 없는 AsyncXMLInputFactory를 통해 XML DOCTYPE 선언이 전달될 수 있습니다. 이로 인해 Aalto XML 파서의 동작에 따라 XML 외부 엔티티(XXE) 취약점이 발생할 수 있습니다.
💡 쉬운 설명
해커가 특수하게 조작된 XML 파일을 보내면 서버가 이를 처리하는 과정에서 내부 파일을 읽거나 외부로 정보를 유출할 수 있는 보안 결함입니다. XML 데이터를 처리하는 설정이 안전하지 않아 발생하는 문제입니다.
🇺🇸 원문 (English)
Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final, any caller that can deliver bytes to a Netty channel pipeline containing `XmlDecoder` can send XML with a `DOCTYPE` declaration to an `AsyncXMLInputFactory` instantiated with no security configuration, leaving DTD and entity handling active depending on Aalto XML async parser behavior and creating conditional XML external entity risk. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
📍 영향받는 시스템
Netty 4.1.0.Final ~ 4.1.135.Final 및 4.2.0.Final ~ 4.2.15.Final
⚔️ 공격 벡터
XmlDecoder가 포함된 Netty 채널 파이프라인에 DOCTYPE 선언이 포함된 악성 XML 데이터를 전송
🛡️ 대응 방법
Netty 버전을 4.1.136.Final 또는 4.2.16.Final 이상으로 업데이트
🔧 검증 코드
출력된 결과에서 netty-handler 또는 netty-codec의 버전이 취약한 범위에 해당하는지 확인
mvn dependency:tree | grep -E 'netty-handler|netty-codec'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server