🇰🇷 한글 설명
Lemur 1.9.2 미만 버전에서 인증서 확장 정보에 포함된 CRL 및 OCSP URL에 대한 목적지 검증이 미흡한 취약점이 발견되었습니다. 인증된 운영자가 조작된 인증서를 업로드할 경우, Lemur 호스트를 통해 내부 네트워크나 인스턴스 메타데이터 서비스(169.254.169.254)로 요청을 보내 내부 서비스를 탐색하거나 메모리 고갈을 유발할 수 있습니다.
💡 쉬운 설명
해커가 가짜 인증서를 올려서 Lemur 서버가 내부 네트워크의 비밀 정보를 몰래 훔쳐보거나 서버의 메모리를 가득 채우게 만들 수 있는 문제입니다. 이로 인해 내부 시스템이 노출되거나 서버가 느려질 수 있습니다.
🇺🇸 원문 (English)
Lemur manages TLS certificate creation. Prior to 1.9.2, lemur/certificates/verify.py accepted CRL Distribution Point and OCSP responder URLs from uploaded certificate extensions and used them in crl_verify and ocsp_verify without adequate destination validation. An authenticated operator could submit a certificate through POST /api/1/certificates/upload and cause verify_string to reach loopback, RFC1918, link-local, or instance-metadata destinations such as 169.254.169.254. The requests could probe internal services and create side effects from the Lemur host network position. The CRL path also used an unbounded cache, allowing attacker-controlled entries to persist and consume memory. The fix validates destinations, supports explicit trusted-host allowlists, and bounds the CRL cache. This issue is fixed in version 1.9.2.
📍 영향받는 시스템
Lemur version < 1.9.2
⚔️ 공격 벡터
인증된 사용자가 조작된 CRL/OCSP URL이 포함된 인증서를 API를 통해 업로드
🛡️ 대응 방법
Lemur를 최신 버전인 1.9.2 이상으로 업데이트
🔧 검증 코드
출력된 버전이 1.9.2 미만이면 취약한 상태이며, 1.9.2 이상이면 안전합니다.
pip show lemur | grep Version
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
💻 영향받는 소프트웨어
Active Directory Certificate Services