🔍 CVE-2019-18371

7.5
CVSS Score
HIGH
2019-10-23
2026-06-17 02:24
✅ 완료

🇰🇷 한글 설명

Xiaomi Mi WiFi R3G 장치의 2.28.23-stable 미만 버전에서 디렉토리 트래버설 취약점이 발견되었습니다. NGINX 설정 오류를 악용하여 임의의 파일을 읽을 수 있으며, 이를 통해 인증을 우회할 수 있습니다.

💡 쉬운 설명

공격자가 특수하게 조작된 주소를 입력하여 공유기의 내부 설정 파일을 몰래 훔쳐볼 수 있는 문제입니다. 이 파일을 통해 관리자 권한을 탈취하거나 보안을 무력화할 수 있습니다.

🇺🇸 원문 (English)

An issue was discovered on Xiaomi Mi WiFi R3G devices before 2.28.23-stable. There is a directory traversal vulnerability to read arbitrary files via a misconfigured NGINX alias, as demonstrated by api-third-party/download/extdisks../etc/config/account. With this vulnerability, the attacker can bypass authentication.

📍 영향받는 시스템

Xiaomi Mi WiFi R3G (버전 2.28.23-stable 미만)

⚔️ 공격 벡터

NGINX alias 설정 오류를 이용한 디렉토리 트래버설(Directory Traversal) 공격

🛡️ 대응 방법

펌웨어를 최신 버전인 2.28.23-stable 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 시 설정 파일의 내용이 출력되면 취약한 상태이며, 오류가 발생하면 안전한 상태입니다.

Shell / Script
curl -s http://<target_ip>/api-third-party/download/extdisks../etc/config/account && echo ' Vulnerable' || echo ' Not Vulnerable'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

Nginx