🇰🇷 한글 설명
FreeScout 1.8.185 및 이전 버전에서 APP_KEY를 알고 있는 인증된 공격자가 원격 코드 실행(RCE)을 수행할 수 있는 신뢰할 수 없는 데이터 역직렬화 취약점이 발견되었습니다. 이 취약점은 특정 엔드포인트의 매개변수가 적절한 검증 없이 복호화 및 역직렬화되는 과정에서 발생합니다.
💡 쉬운 설명
해커가 서비스의 암호화 키를 알고 있다면, 조작된 데이터를 보내 서버가 이를 실행하게 만들어 컴퓨터를 마음대로 조종할 수 있는 보안 약점입니다. 이로 인해 서버의 제어권을 완전히 빼앗길 위험이 있습니다.
🇺🇸 원문 (English)
FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.185 and earlier contain a deserialization of untrusted data vulnerability that allows authenticated attackers with knowledge of the application's APP_KEY to achieve remote code execution. The vulnerability is exploited via endpoint, e.g.: `/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}` where the `customer_id` and `timestamp` parameters are processed through the decrypt function in `app/Helper.php` without proper validation. The code decrypts using Laravel's built-in encryption functions, which subsequently deserialize the decrypted payload without sanitization, allowing attackers to craft malicious serialized PHP objects using classes to trigger arbitrary command execution. This is fixed in version 1.8.186.
📍 영향받는 시스템
FreeScout 1.8.185 및 그 이전 버전
⚔️ 공격 벡터
APP_KEY를 이용해 조작된 PHP 객체를 암호화한 후, 특정 URL 엔드포인트의 매개변수를 통해 전달하여 역직렬화 유도
🛡️ 대응 방법
FreeScout를 최신 보안 패치가 적용된 버전인 1.8.186 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 1.8.186 미만인지 확인하여 취약 여부를 판단합니다.
php artisan --version 2>/dev/null | grep -E 'FreeScout'