🔍 CVE-2023-7330

0.0
CVSS Score
UNKNOWN
2025-11-24
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Ruijie NBR 시리즈 라우터의 /ddi/server/fileupload.php 엔드포인트에 인증 없이 임의 파일을 업로드할 수 있는 취약점입니다. 공격자는 PHP 파일을 업로드한 후 웹 루트에서 접근하여 웹 서비스 권한으로 임의 코드를 실행할 수 있습니다.

💡 쉬운 설명

Ruijie 라우터에 아무나 파일을 업로드할 수 있는 보안 결함이 있습니다. 해커가 이를 이용해 라우터를 완전히 제어할 수 있습니다.

🇺🇸 원문 (English)

Ruijie NBR series routers contain an unauthenticated arbitrary file upload vulnerability via /ddi/server/fileupload.php. The endpoint accepts attacker-supplied values in the name and uploadDir parameters and saves the provided multipart file content without adequate validation or sanitization of file type, path, or extension. A remote attacker can upload a crafted PHP file and then access it from the web root, resulting in arbitrary code execution in the context of the web service. Exploitation evidence was observed by the Shadowserver Foundation on 2025-01-14 UTC.

📍 영향받는 시스템

Ruijie NBR series routers (모든 영향받은 버전)

⚔️ 공격 벡터

HTTP POST /ddi/server/fileupload.php에 인증 없이 악성 PHP 파일을 multipart 형식으로 전송

🛡️ 대응 방법

최신 펌웨어로 업그레이드, 파일 업로드 검증 강화, 관리 인터페이스에 대한 네트워크 접근 제한

🔧 검증 코드

OPTIONS 요청에 POST 메서드가 허용되면 취약한 것으로 판단되며, 403/401 응답이면 보호된 상태입니다.

Shell / Script
curl -s http://<target-ip>/ddi/server/fileupload.php -X OPTIONS -v 2>&1 | grep -i 'allow\|post'

💻 영향받는 소프트웨어

PHP