🇰🇷 한글 설명
ZoneMinder 1.38.3 미만 버전에서 발생하는 취약점으로, 인증된 사용자가 조작된 exportFile 파라미터를 통해 쉘 명령어를 주입할 수 있습니다. 공격자는 이를 통해 웹 서버 권한으로 임의의 운영체제 명령을 실행할 수 있습니다.
💡 쉬운 설명
CCTV 관리 프로그램의 특정 기능에 보안 허점이 있어, 권한이 있는 사용자가 악성 명령어를 입력하면 서버를 마음대로 조작할 수 있습니다. 이는 해커가 서버의 제어권을 탈취하는 결과로 이어질 수 있습니다.
🇺🇸 원문 (English)
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.3, the exportEvents() function concatenates the attacker-controlled exportFile request parameter into a shell command without neutralizing shell metacharacters when an authenticated user with View Events or View Snapshots permission submits an event export request with a crafted exportFile value, a valid CSRF token, and exportDetail enabled. The affected components are exportEvents(), exportFile, web/ajax/event.php, web/skins/classic/includes/export_functions.php. In this attack mechanism, the crafted exportFile value reaches the trailing directory argument of a tar or zip command executed by exec(). The attacker can execute arbitrary operating system commands as the web server user. This issue is fixed in version 1.38.3.
📍 영향받는 시스템
ZoneMinder 1.38.3 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 조작된 exportFile 파라미터와 CSRF 토큰을 포함한 요청을 전송하여 쉘 명령어를 주입
🛡️ 대응 방법
ZoneMinder를 최신 보안 패치가 적용된 1.38.3 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 1.38.3보다 낮으면 취약한 상태입니다.
dpkg -l | grep zoneminder 2>/dev/null | awk '{print $3}'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server