🇰🇷 한글 설명
Samsung SRN-1670D의 Web Viewer 1.0.0.193에서 network_ssl_upload.php를 통해 인증된 공격자가 .php 확장자의 파일을 업로드하고 실행할 수 있습니다. upload/ 디렉토리에 저장된 파일은 직접 웹 접근이 가능하며, CVE-2015-8279의 Local File Read 취약점으로 인증 정보를 먼저 획득할 수 있습니다.
💡 쉬운 설명
삼성 감시 카메라의 관리 페이지에서 악의적인 프로그램 파일을 업로드할 수 있는 문제입니다. 관리자 암호를 쉽게 알아낼 수 있는 다른 취약점이 있어서 공격자가 이를 조합하여 카메라를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Web Viewer 1.0.0.193 on Samsung SRN-1670D devices suffers from an Unrestricted file upload vulnerability: 'network_ssl_upload.php' allows remote authenticated attackers to upload and execute arbitrary PHP code via a filename with a .php extension, which is then accessed via a direct request to the file in the upload/ directory. To authenticate for this attack, one can obtain web-interface credentials in cleartext by leveraging the existing Local File Read Vulnerability referenced as CVE-2015-8279, which allows remote attackers to read the web-interface credentials via a request for the cslog_export.php?path=/root/php_modules/lighttpd/sbin/userpw URI.
📍 영향받는 시스템
Samsung SRN-1670D with Web Viewer version 1.0.0.193
⚔️ 공격 벡터
Authenticated attacker uploads malicious PHP file via network_ssl_upload.php endpoint, then executes arbitrary code by directly requesting the file in /upload/ directory
🛡️ 대응 방법
Upgrade to patched firmware version, disable PHP execution in upload directory via web server configuration, or implement strict file type validation to block PHP uploads
🔧 검증 코드
.php 파일명이 출력되면 업로드 디렉토리에 PHP 파일이 존재하여 취약하며, 아무것도 출력되지 않으면 현재 보호되거나 접근 불가 상태
curl -s http://192.168.1.1/upload/ 2>/dev/null | grep -o '[^/]*\.php' | head -1