Serendipity 2.4.0
인증된 공격자가 .phar 확장자의 악성 PHP 파일을 미디어 업로드 엔드포인트에 업로드하여 시스템 명령어를 실행
최신 버전의 Serendipity를 업데이트하거나, 업로드 파일의 확장자와 내용을 검사하여 악성 파일을 차단합니다.
로컬 PC에서 Python을 실행하여 Serendipity 버전을 확인합니다. 예제 URL(https://example.com/serendipity)을 실제 Serendipity 설치 URL로 변경합니다. Python 3.x 이상이 설치되어 있어야 하며, requests 라이브러리가 필요합니다.
python -c "import requests; response = requests.get('https://example.com/serendipity'); if 'Serendipity 2.4.0' in response.text: print('{"result": "취약", "reason": "Serendipity 2.4.0 버전 확인"}'); else: print('{"result": "양호", "reason": "최신 버전 확인"}')"
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H