🇰🇷 한글 설명
Apache log4net의 EventLogAppender에서 NUL 문자를 적절히 처리하지 못해 발생하는 취약점입니다. 로그 내용에 NUL 문자가 포함되면 Windows 이벤트 로그 기록이 해당 지점에서 중단되어, 이후의 예외 텍스트나 추가 필드 정보가 저장되지 않을 수 있습니다.
💡 쉬운 설명
로그에 특수한 기호(NUL)를 넣으면 로그 기록이 중간에 잘려버리는 문제입니다. 이를 통해 공격자는 자신의 활동 기록을 숨기거나 중요한 오류 정보를 삭제할 수 있습니다.
🇺🇸 원문 (English)
Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net.
A NUL character in logged content ended the Windows Event Log record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently not stored. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use EventLogAppender are affected.
This issue affects Apache log4net: from 1.2.9 before 3.5.0.
Users are recommended to upgrade to version 3.5.0, which fixes the issue.
📍 영향받는 시스템
Apache log4net 1.2.9 미만 ~ 3.5.0 미만 버전 (Windows 환경의 EventLogAppender 사용 시)
⚔️ 공격 벡터
로그에 기록되는 데이터에 NUL 문자를 삽입하여 로그 기록을 의도적으로 중단시킴
🛡️ 대응 방법
Apache log4net을 3.5.0 버전 이상으로 업그레이드
🔧 검증 코드
출력된 log4net의 버전이 3.5.0 미만인지 확인
dotnet list package | grep log4net