🇰🇷 한글 설명
Progressive Robot hMailServer의 JSON 리더에서 발생하는 비효율적인 알고리즘 복잡도 문제로 인해 원격 인증되지 않은 공격자가 메일 서비스를 중단시킬 수 있습니다. 공격자가 조작된 TLS-RPT 보고서를 전송하면 JSON 객체 처리 과정에서 과도한 CPU 자원이 소모되어 서버의 메일 송수신 기능이 마비됩니다.
💡 쉬운 설명
메일 서버가 데이터를 읽는 방식에 문제가 있어, 특수하게 제작된 파일을 보내면 서버가 계산을 하느라 멈춰버리는 현상입니다. 이로 인해 이메일을 주고받는 서비스가 오랫동안 중단될 수 있습니다.
🇺🇸 원문 (English)
Inefficient algorithmic complexity in the JSON reader of Progressive Robot hMailServer allows a remote unauthenticated attacker to make the mail services unavailable. Reading a JSON object kept the first of each duplicated member name by searching the members already read, so an object of N distinct member names cost O(N^2): 1 MB took 8.9 seconds and 4 MB took 300 seconds against the affected code. A remote attacker reaches the reader without an account by mailing a crafted TLS-RPT report (up to 16 MB after decompression) to a hosted domain's published report mailbox, which is read on a delivery thread; a few such reports hold every delivery thread (ten by default), so the server delivers no mail, local or outbound, for over an hour per report. A signed-in account reaches the same 16 MB body through the webmail's own REST routes, holding the REST API's own worker threads. Where no report mailbox is configured, the unauthenticated REST sign-in routes that read a JSON body are capped at 64 KB and are not affected.
📍 영향받는 시스템
Progressive Robot hMailServer (JSON 리더를 사용하는 버전)
⚔️ 공격 벡터
조작된 TLS-RPT 보고서를 메일 서버의 보고서 수신함으로 전송하여 서비스 거부(DoS) 유발
🛡️ 대응 방법
해당 취약점이 해결된 최신 보안 패치를 적용하거나, JSON 처리 알고리즘의 복잡도를 개선한 업데이트를 수행하십시오.
🔧 검증 코드
설치된 hMailServer의 버전을 확인하여 보안 패치 적용 여부를 제조사 공지사항과 대조하십시오.
dpkg -l | grep hmailserver 2>/dev/null || rpm -qa | grep hmailserver