인증서 확인 및 교정 단계를 포함하여 Cisco IOS XR 라우터에서 eMudhra 인증서 노출을 식별하고 완화하는 방법을 알아보십시오.
이 문서에서는 다음을 포함하여 Cisco IOS XR 소프트웨어를 실행하는 Cisco 통신 사업자 라우팅 플랫폼에 대한 운영 지침 및 중간 완화 절차를 제공합니다.
이러한 절차에서는 Cisco Security Advisory cisco-sa-emudhra-info-ScS22A1r에 설명된 대로 손상된 eMudhra Certificate Authority와 관련된 잠재적 노출을 해결합니다.
이 문서에서는 IOS XR Linux 인증서 저장소에서 관련 인증서를 식별하고, 잠재적인 노출을 평가하고, 해당하는 경우 중간 완화 절차를 적용하는 방법에 대해 설명합니다.
2026년 10월 17일부터 10월 20일 사이, 2025년 4월 이무드라에서 열린 키생성기념식(KGC)에서 유례없는 암호화 결함이 공개되었다. 키 생성 중 무작위성이 깨져 8개(8개)의 Mudhra 중간 인증 기관(6개 TLS 발급 CA 및 2개 코드 서명 CA)의 개인 키는 몇 초 내에 인증되지 않은 사용자에 의해 인수 분해되고 파생될 수 있습니다.
핵심 복합 요소(Sectigo 상호 서명): 2025년 5월, 감염된 8개의 모든 중간 CA가 Sectigo 레거시 루트(AAA Certificate Services)에 의해 교차 서명되었습니다. Sectigo의 루트는 공용 및 엔터프라이즈 신뢰 저장소에 유비쿼터스 방식으로 포함되므로, 네이티브 eMudhra 루트가 없는 경우에도 이러한 손상된 중간 CA에서 발급한 인증서는 운영 체제 및 TLS 스택에서 전역적으로 기본적으로 신뢰됩니다.
IOS XR 애플리케이션은 기본적으로 XR 인증서 저장소를 사용합니다. IOS XR Linux CA 번들에 포함된 두 개의 Mudhra 인증서가 있습니다. 다음과 같은 경우 세 가지 특정 시나리오에서만 사용됩니다.
26.4.1 이전의 모든 Cisco IOS XR 버전(2026년 11월 30일에 릴리스됨)에는 이러한 CA 인증서가 포함되어 있습니다. 이러한 인증서가 XR 디바이스에 있는지 확인하려면 XR Linux CLI에 액세스하여 certificates.conf 파일의 내용을 확인합니다.
RP/0/RP0/CPU0:Router#run
[xr-vm_node0_RP0_CPU0:~]$grep "Comodo_AAA_Services_root.crt\|emSign_ECC_Root_CA_-_G3.crt" /etc/ca-certificates.conf
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
인증서에 하나 또는 두 인증서가 모두 언급되어 있는 경우 두 파일의 경로를 찾습니다.
[xr-vm_node0_RP0_CPU0:~]$find / -type f \( -name "Comodo_AAA_Services_root.crt" -o -name "emSign_ECC_Root_CA_-_G3.crt" \) 2>/dev/null
/usr/share/ca-certificates/mozilla/Comodo_AAA_Services_root.crt
/usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt
이러한 파일이 있고 certificates.conf에서 참조되는 경우 디바이스가 악용될 수 있습니다.
기존 IOS XR 버전(32비트)은 이 문제의 영향을 받지 않습니다.
완화 단계는 다음과 같습니다.
eXR 릴리스의 경우
앞에 "!" 추가 certificate.conf 파일의 영향을 받는 인증서를 포함하는 모든 행의 시작 부분에
[xr-vm_node0_RP0_CPU0:~]$sed -i -E '/Comodo_AAA_Services_root\.crt|emSign_ECC_Root_CA_-_G3\.crt/s/^/!/' /etc/ca-certificates.conf
[xr-vm_node0_RP0_CPU0:~]$grep "Comodo_AAA_Services_root.crt\|emSign_ECC_Root_CA_-_G3.crt" /etc/ca-certificates.conf
!mozilla/Comodo_AAA_Services_root.crt
!mozilla/emSign_ECC_Root_CA_-_G3.crt
찾은 인증서 제거
[xr-vm_node0_RP0_CPU0:~]$rm /usr/share/ca-certificates/mozilla/Comodo_AAA_Services_root.crt
[xr-vm_node0_RP0_CPU0:~]$rm /usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt
시스템 전반의 SSL/TLS 인증서 업데이트 및 동기화
[xr-vm_node0_RP0_CPU0:~]$update-ca-certificates
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
이 절차는 간단하지만 모든 VM(모든 노드의 기본 SDR 및 sysadmin)과 라우터의 호스트 OS에서 반복해야 합니다.
이 절차는 셸 스크립트를 실행하여 자동화할 수 있습니다.
활성 RP의 관리자 VM에 스크립트를 업로드하고 복사합니다. 그런 다음 관리 VM의 Linux CLI에 액세스합니다(NCS 560 라우터의 경우 XR VM Linux CLI에서 스크립트를 실행해야 함).
sysadmin-vm:0_RP0#copy harddisk:asr9k_remove_eMudhra_cert.sh location 0/RP0/CPU0/VM1 harddisk:
Tue Oct 27 01:59:29.149 UTC+00:00
Copying harddisk:asr9k_remove_eMudhra_cert.sh to harddisk:
asr9k_remove_eMudhra_cert.sh 100% 2410 2.4KB/s 00:00
File copied successfully
sysadmin-vm:0_RP0#
sysadmin-vm:0_RP0# run
[sysadmin-vm:0_RP0:~]$
실행 권한을 추가하고 스크립트를 실행합니다.
[sysadmin-vm:0_RP1:~]$chmod +x asr9k_remove_eMudhra_cert.sh
[sysadmin-vm:0_RP0:~]$./asr9k_remove_eMudhra_cert.sh
===== local node (this XR VM) =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
asr9k_remove_eMudhra_cert.sh
===== lc0_admin =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
===== lc0_xr =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
===== my_host =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
===== rsp0_xr =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
===== rsp1_admin =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
===== rsp1_xr =====
-- Entries found in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
스크립트 실행이 중지되면 하나 이상의 호스트에서 비밀번호를 입력하라는 메시지가 표시될 수 있습니다. 이 경우 교정 절차를 수동으로 수행합니다.
XR7 릴리스의 경우
Cisco IOS XR7 Software는 SELinux를 사용하며 다음 릴리스의 다른 플랫폼에서 시행이 활성화되었습니다.
시행 상태를 확인합니다. 허용이 반환되면 수동 교정 또는 스크립트를 실행할 수 있습니다. Enforcement가 반환되면 26.4.1 릴리스로 업그레이드합니다.
RP/0/RP0/CPU0:Router-1#run
[node0_RP0_CPU0:~]$getenforce
Enforcing
RP/0/RP0/CPU0:Router-2#run
[node0_RP0_CPU0:~]$getenforce
Permissive
활성 RP에 스크립트를 업로드합니다. 그런 다음 Linux CLI에 액세스하여 하드 디스크 디렉토리로 변경합니다
RP/0/RP0/CPU0:Router#run
[node0_RP0_CPU0:~]$cd /misc/disk1
[node0_RP0_CPU0:/misc/disk1]$
실행 권한을 추가하고 스크립트를 실행합니다.
[node0_RP0_CPU0:/misc/disk1]$chmod +x xr7_remove_eMudhra_cert.sh
[node0_RP0_CPU0:/misc/disk1]$./xr7_remove_eMudhra_cert.sh
================ LOCAL NODE ================
Node: node0_RP0_CPU0
-- Matching lines in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
[RUN] prepend '!' to matching lines in /etc/ca-certificates.conf
[RUN] rm -f /usr/share/ca-certificates/mozilla/Comodo_AAA_Services_root.crt
[RUN] rm -f /usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt
[RUN] update-ca-certificates
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 2 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Done: node0_RP0_CPU0
No reachable peer nodes found; only the local node was processed.
현재 사용 가능한 스크립트:
모든 XR7 arch64 플랫폼에서는 시행이 향후 릴리스에만 도입되므로 교정이 효과적입니다.

팁: 스크립트를 실행하기 전에 테스트할 수 있습니다.
명령의 끝에 -n을 추가하여 eXR 및 XR7 스크립트에 대해 dry-run 옵션을 사용할 수 있습니다. 또한 스크립트를 실행한 후 주석 처리 및 제거된 인증서 이름을 검증하는 데 사용할 수 있습니다.
[node0_RP0_CPU0:/misc/disk1]$./xr7_remove_eMudhra_cert.sh -n
*** DRY RUN: no changes will be made ***
================ LOCAL NODE ================
Node: node0_RP0_CPU0
-- Matching lines in /etc/ca-certificates.conf:
mozilla/Comodo_AAA_Services_root.crt
mozilla/emSign_ECC_Root_CA_-_G3.crt
[DRY-RUN] sed -i '/Comodo_AAA_Services_root.crt\|emSign_ECC_Root_CA_-_G3.crt/ s/^\([^!]\)/!\1/' /etc/ca-certificates.conf
[DRY-RUN] rm -f /usr/share/ca-certificates/mozilla/Comodo_AAA_Services_root.crt
[DRY-RUN] rm -f /usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt
[DRY-RUN] update-ca-certificates
Done: node0_RP0_CPU0
No reachable peer nodes found; only the local node was processed.
| 개정 | 게시 날짜 | 의견 |
|---|---|---|
3.0 |
02-Nov-2026
|
XR7 시스템용 스크립트가 추가되었습니다. |
2.0 |
29-Oct-2026
|
XR7 시스템에 대한 정보와 ASR 9000 및 NCS Series용 스크립트가 추가되었습니다. |
1.0 |
28-Oct-2026
|
최초 릴리스 |