🇰🇷 한글 설명
xrdp는 오픈소스 RDP 서버입니다. 0.10.5 이하 버전에서 'Classic RDP Security' 계층을 사용할 때 암호화된 RDP 패킷의 MAC 서명을 검증하지 않아, 8바이트 무결성 서명이 조용히 무시됩니다. 이로 인해 MITM 공격자가 탐지되지 않고 전송 중인 트래픽을 변조할 수 있습니다. TLS 보안 계층이 적용된 연결에는 영향이 없으며, 0.10.6 버전에서 수정되었습니다.
💡 쉬운 설명
xrdp 원격 데스크톱 서버가 데이터의 위변조 여부를 확인하지 않는 결함이 있습니다. 중간에서 통신을 가로채는 공격자가 내용을 바꿔도 이를 알아차리지 못합니다.
🇺🇸 원문 (English)
xrdp is an open source RDP server. In versions through 0.10.5, xrdp does not implement verification for the Message Authentication Code (MAC) signature of encrypted RDP packets when using the "Classic RDP Security" layer. While the sender correctly generates signatures, the receiving logic lacks the necessary implementation to validate the 8-byte integrity signature, causing it to be silently ignored. An unauthenticated attacker with man-in-the-middle (MITM) capabilities can exploit this missing check to modify encrypted traffic in transit without detection. It does not affect connections where the TLS security layer is enforced. This issue has been fixed in version 0.10.6. If users are unable to immediately upgrade, they should configure xrdp.ini to enforce TLS security (security_layer=tls) to ensure end-to-end integrity.
📍 영향받는 시스템
xrdp 0.10.5 이하 버전 중 Classic RDP Security 계층을 사용하는 시스템
⚔️ 공격 벡터
네트워크 중간자(MITM) 위치의 공격자가 Classic RDP Security 연결의 암호화 패킷을 탐지되지 않게 변조
🛡️ 대응 방법
xrdp를 0.10.6 이상으로 업그레이드하거나, xrdp.ini에서 security_layer=tls로 설정
🔧 검증 코드
출력된 버전이 0.10.6 미만이면 취약하며, 0.10.6 이상이거나 xrdp.ini에 security_layer=tls가 설정되어 있으면 안전합니다.
xrdp --version 2>/dev/null || dpkg -l xrdp 2>/dev/null | grep xrdp