🇰🇷 한글 설명
FreePBX의 Superfecta 모듈에서 발생하는 원격 코드 실행(RCE) 취약점입니다. 인증된 공격자가 임의의 PHP 파일을 포함시켜 웹 서버 권한으로 서버에서 임의의 코드를 실행할 수 있습니다. 이 문제는 Superfecta 모듈의 AJAX 핸들러 내에서 사용자 입력값을 검증 없이 PHP 파일 포함에 사용하기 때문에 발생합니다.
💡 쉬운 설명
해커가 로그인 권한을 이용해 서버에 몰래 악성 명령어를 실행할 수 있는 위험한 보안 구멍입니다. 이를 통해 서버의 제어권을 통째로 빼앗길 수 있습니다.
🇺🇸 원문 (English)
FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code execution (RCE) vulnerability exists in the superfecta module due to unsafe inclusion of arbitrary PHP files, allowing authenticated attackers to execute arbitrary PHP code on the server with the privileges of the web server user. Authentication with a known username is required. The vulnerability is rooted in the options and save_options cases in the Superfecta module's AJAX handler. The code dynamically includes PHP files from the sources/ directory based on user-supplied input. This allows an attacker to execute arbitrary code when combined with arbitrary directory creation (e.g., via the backup module) and file uploads that reveal full paths (e.g., via the soundlang module). This issue has been patched in versions 16.0.40 and 17.0.7.
📍 영향받는 시스템
FreePBX versions prior to 16.0.40 and 17.0.7
⚔️ 공격 벡터
인증된 사용자가 Superfecta 모듈의 AJAX 핸들러를 통해 조작된 PHP 파일 경로를 입력하여 공격
🛡️ 대응 방법
FreePBX를 버전 16.0.40 또는 17.0.7 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 16.0.40 미만이거나 17.0.7 미만인 경우 취약한 상태입니다.
dpkg -l | grep freepbx | awk '{print $3}'