🔍 CVE-2023-50211

8.8
CVSS Score
HIGH
2024-05-03
2026-06-17 06:39
✅ 완료

🇰🇷 한글 설명

D-Link G416 라우터의 httpd API-AUTH 타임스탬프 처리 과정에서 발생하는 스택 기반 버퍼 오버플로우 취약점입니다. 공격자는 인증 없이 네트워크 인접 위치에서 임의의 코드를 실행하여 루트 권한을 탈취할 수 있습니다.

💡 쉬운 설명

라우터의 웹 서비스에 너무 긴 데이터를 보내면 시스템이 이를 처리하지 못하고 오류가 발생합니다. 이 오류를 이용해 해커가 라우터의 관리자 권한을 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

D-Link G416 httpd API-AUTH Timestamp Processing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link G416 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the HTTP service listening on TCP port 80. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21663.

📍 영향받는 시스템

D-Link G416 라우터 (HTTP 서비스 활성화 모델)

⚔️ 공격 벡터

TCP 80번 포트로 조작된 HTTP 요청을 전송하여 스택 버퍼 오버플로우 유발

🛡️ 대응 방법

제조사에서 제공하는 최신 보안 패치 적용 또는 취약한 HTTP 서비스 비활성화

🔧 검증 코드

대상 IP의 80번 포트가 열려 있고 D-Link HTTP 서비스가 응답하는지 확인하여 공격 가능성을 점검합니다.

Shell / Script
curl -s -I http://<target_ip>/ | grep -i 'Server'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server