🔍 CVE-2023-35745

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

🇰🇷 한글 설명

D-Link DAP-2622 라우터의 DDP 설정 복구 기능에서 발생하는 스택 기반 버퍼 오버플로우 취약점입니다. 공격자는 인증 없이 네트워크 인접 위치에서 임의의 코드를 실행하여 루트 권한을 탈취할 수 있습니다.

💡 쉬운 설명

라우터의 설정 파일 이름 처리 과정에서 데이터 길이를 제대로 확인하지 않아 발생하는 보안 결함입니다. 해커가 특수하게 조작된 데이터를 보내면 라우터의 제어권을 완전히 뺏을 수 있습니다.

🇺🇸 원문 (English)

D-Link DAP-2622 DDP Configuration Restore Filename Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the DDP service. 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-20073.

📍 영향받는 시스템

D-Link DAP-2622 (DDP 서비스 사용 모델)

⚔️ 공격 벡터

네트워크 인접 공격자가 인증 없이 DDP 서비스에 조작된 파일 이름을 전송하여 공격

🛡️ 대응 방법

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

🔧 검증 코드

해당 서비스 호출 시 비정상적인 응답이나 버퍼 오버플로우 유도 가능성을 확인합니다.

Shell / Script
curl -s http://<target_ip>/cgi-bin/config_restore | grep -i 'error'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST