🇰🇷 한글 설명
FreePBX의 백업 모듈에서 복구 작업 시 데이터를 적절히 검증하지 않아 발생하는 취약점입니다. 악의적으로 조작된 백업 파일을 복구할 경우 unserialize() 함수를 통해 원격 코드 실행(RCE)이 가능합니다. 이 취약점은 16.0.71 및 17.0.6 미만 버전에서 발생합니다.
💡 쉬운 설명
백업 파일을 다시 불러오는 과정에서 검증되지 않은 데이터가 시스템 명령어로 실행될 수 있는 보안 결함입니다. 해커가 만든 가짜 백업 파일을 올리면 서버의 제어권을 탈취당할 수 있습니다.
🇺🇸 원문 (English)
FreePBX is an open source IP PBX. In versions below 16.0.71 and 17.0.6, the backup module does not properly sanitize data during restore operations, potentially leading to compromise if the backup contains carefully crafted hostile data. During backup restore operations, FreePBX extracts selected files from a user-supplied tar archive. If a malicious file exists in the archive, it is read and passed directly to unserialize() without validation, class restrictions, or integrity checks. This issue allows Remote Code Execution during restoration of the backup as the web server user (typically asterisk or www-data). The attack does not require shell access, CLI access, or filesystem write permissions beyond the normal restore workflow. Authentication with a known username that has sufficient access permissions and/or write access to backup files is required. This issue has been fixed in versions 16.0.71 and 17.0.6.
📍 영향받는 시스템
FreePBX versions below 16.0.71 and 17.0.6
⚔️ 공격 벡터
권한이 있는 사용자가 조작된 tar 아카이브 파일을 백업 복구 프로세스를 통해 업로드
🛡️ 대응 방법
FreePBX를 버전 16.0.71 또는 17.0.6 이상으로 즉시 업데이트
🔧 검증 코드
출력된 FreePBX의 버전을 확인하여 16.0.71 또는 17.0.6 미만인지 체크
rpm -q freepbx || dpkg -l | grep freepbx